This commit is contained in:
11
backend/Dockerfile
Normal file
11
backend/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM python:3
|
||||
|
||||
WORKDIR /app
|
||||
COPY Pipfile Pipfile.lock /app/
|
||||
|
||||
RUN pip install pipenv
|
||||
RUN pipenv install --deploy --ignore-pipfile
|
||||
|
||||
COPY . /src
|
||||
|
||||
CMD ["pipenv", "run", "python", "/app/src/main.py"]
|
Reference in New Issue
Block a user