Skip to content

Commit cb82270

Browse files
authored
Change Dockerfile entrypoint to adapt new env_file parameter (#781)
### Description Please explain the changes you made here. ### Checklist - [ ] Created tests which fail without the change (if possible) - [ ] All tests passing - [ ] Extended the documentation, if necessary
1 parent 60a5fec commit cb82270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ COPY migrations migrations/
1515
COPY assets assets/
1616
COPY app app/
1717

18-
ENTRYPOINT ["fastapi", "run", "app/main.py", "--workers", "${NB_WORKERS:-1}"]
18+
ENTRYPOINT fastapi run app/main.py --workers "${NB_WORKERS:-1}"

0 commit comments

Comments
 (0)