prepare for deploy
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
FROM python:3.9
|
||||
FROM python:3.8
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
RUN pip3 install pipenv
|
||||
|
||||
@@ -9,4 +11,6 @@ COPY Pipfile.lock ./
|
||||
|
||||
RUN set -ex && pipenv install --deploy --system
|
||||
|
||||
COPY . .
|
||||
COPY . .
|
||||
|
||||
CMD ["python", "server.py"]
|
||||
|
Reference in New Issue
Block a user