yup
This commit is contained in:
parent
7eb29cce83
commit
020813fc30
3 changed files with 59 additions and 34 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
FROM python:latest
|
||||
|
||||
COPY requirements.txt /opt/requirements.txt
|
||||
|
||||
RUN pip3 install -r /opt/requirements.txt
|
||||
|
||||
COPY . /opt/server
|
||||
|
||||
WORKDIR /opt/server
|
||||
|
||||
ENV PYTHONPATH=/opt
|
||||
|
||||
CMD ["python", "app.py"]
|
||||
|
||||
EXPOSE 5001
|
||||
Loading…
Add table
Add a link
Reference in a new issue