Use shell form for CMD in Dockerfile
Switched CMD to use shell form instead of exec form for running the application. This simplifies the command syntax and ensures compatibility in environments where exec form parsing may cause issues.
This commit is contained in:
parent
3b75d04f32
commit
dc93de9b18
1 changed files with 1 additions and 1 deletions
|
@ -25,4 +25,4 @@ COPY src/ /app/
|
|||
EXPOSE 8000
|
||||
|
||||
# Set the default command to run the app with `uvicorn`
|
||||
CMD ["python", "$APP_ENTRYPOINT"]
|
||||
CMD python "$APP_ENTRYPOINT"
|
Loading…
Add table
Add a link
Reference in a new issue