Update Dockerfile
This commit is contained in:
parent
c0e6c6c028
commit
ced460146b
|
@ -10,6 +10,7 @@ COPY ./ ./
|
||||||
# Install production dependencies.
|
# Install production dependencies.
|
||||||
RUN pip install .
|
RUN pip install .
|
||||||
|
|
||||||
|
USER 1001
|
||||||
# Run the web service on container startup. Here we use the gunicorn
|
# Run the web service on container startup. Here we use the gunicorn
|
||||||
# webserver, with one worker process and 8 threads.
|
# webserver, with one worker process and 8 threads.
|
||||||
# For environments with multiple CPU cores, increase the number of workers
|
# For environments with multiple CPU cores, increase the number of workers
|
||||||
|
|
Loading…
Reference in New Issue