Added backend to prod docker environment
This commit is contained in:
parent
8424cb346f
commit
520252bbee
2 changed files with 16 additions and 3 deletions
|
@ -1,12 +1,13 @@
|
|||
FROM python
|
||||
|
||||
WORKDIR /opt/demo/
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get -y update && apt-get -y upgrade
|
||||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN apt-get -y update && apt-get -y upgrade
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY /src .
|
||||
|
||||
CMD [ "python", "main.py" ]
|
||||
CMD [ "python", "app.py" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue