Skip to content

Commit

Permalink
run in production
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Aug 16, 2024
1 parent e3fc936 commit dc79a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ RUN pip install --no-cache-dir .
EXPOSE 8080

# Run the FastAPI application.
CMD ["fastapi", "run", "store/app/main.py", "--port", "8080"]
CMD ["ENVIRONMENT=production", "fastapi", "run", "store/app/main.py", "--port", "8080"]

0 comments on commit dc79a08

Please sign in to comment.