Fix Dockerfile CMD path - Change from ./normogen-backend to normogen-backend
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:
parent
4627903999
commit
078acd92d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue