diff --git a/Dockerfile b/Dockerfile index 772aa34..0fa8009 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,6 @@ FROM gcr.io/distroless/static-debian12:nonroot WORKDIR /app COPY --from=builder /app/fdo_server /app/fdo_server -USER nonroot ENTRYPOINT ["./fdo_server"] CMD [] \ No newline at end of file diff --git a/Makefile b/Makefile index 9d2ada6..bb0aefd 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ build: # Run the Docker container with all flags run: ${CONTAINER_RUNTIME} run -v $(PWD)/app-data:/app-data:rw --name $(CONTAINER_NAME) -d --network=$(NETWORK) $(IMAGE_NAME) \ - -db $(DB_PATH) \ + -db /home/nonroot/$(DB_PATH) \ $(if $(DB_PASS),-db-pass $(DB_PASS)) \ $(DEBUG) \ -http $(HTTP_ADDR) \