mm
2 years ago
1 changed files with 12 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||
|
FROM python:3.9 |
||||
|
|
||||
|
WORKDIR /app |
||||
|
|
||||
|
COPY requirements.txt . |
||||
|
RUN pip install -r requirements.txt |
||||
|
|
||||
|
COPY app app |
||||
|
|
||||
|
EXPOSE 5000 |
||||
|
|
||||
|
CMD ["flask", "run", "--host=0.0.0.0"] |
Loading…
Reference in new issue