This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM python:3.9
|
||||
|
||||
ADD program_service requirements.txt /program_service/
|
||||
WORKDIR /program_service/
|
||||
|
||||
RUN pip3 install -r requirements.txt && pip3 install gunicorn
|
||||
|
||||
EXPOSE 8000
|
||||
CMD ["gunicorn", "-b", "0.0.0.0:8000", "app:app"]
|
||||
|
Reference in New Issue
Block a user