feat: Add Dockerfile
This commit is contained in:
7
Dockerfile
Normal file
7
Dockerfile
Normal file
@ -0,0 +1,7 @@
|
||||
FROM python:latest
|
||||
ADD . /opt/imgs
|
||||
RUN mkdir -p /opt/imgs/uploads
|
||||
WORKDIR /opt/imgs
|
||||
RUN pip install --upgrade pip && pip install --requirement requirements.txt
|
||||
EXPOSE 5000
|
||||
CMD gunicorn imgs:app --bind :5000
|
Reference in New Issue
Block a user