Fix Dockerfile CMD path - Change from ./normogen-backend to normogen-backend
Some checks failed
Lint and Build / Lint (push) Failing after 4s
Lint and Build / Build (push) Has been skipped
Lint and Build / Docker Build (push) Has been skipped

The Dockerfile had an incorrect CMD path that caused the container to fail
with 'stat ./normogen-backend: no such file or directory'. The binary was
being copied to /usr/local/bin/ but the CMD was trying to execute it from
the current working directory.

This fix changes the CMD to use the absolute path which resolves the issue.
This commit is contained in:
goose 2026-03-05 10:15:58 -03:00
parent 4627903999
commit 078acd92d1

View file

@ -43,4 +43,4 @@ COPY --from=builder /app/target/release/normogen-backend /usr/local/bin/normogen
EXPOSE 8000 EXPOSE 8000
# Run the application # Run the application
CMD ["./normogen-backend"] CMD ["normogen-backend"]