Skip to content

Commit fb31c6d

Browse files
committed
Start granian correctly
1 parent f2d4cce commit fb31c6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Containerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ RUN python -m whitenoise.compress static
1111
RUN useradd -U -d /src deploy
1212
USER deploy
1313
EXPOSE 8000
14-
CMD ["venv/bin/python", "-m", "granian", "--interface", "wsgi", "wsgi:application", "--workers", "2", "--host", "0.0.0.0", "--port", "8000", "--respawn-failed-workers"]
14+
CMD ["granian", "--interface", "wsgi", "wsgi:application", "--workers", "2", "--host", "0.0.0.0", "--port", "8000", "--respawn-failed-workers"]

0 commit comments

Comments
 (0)