Browse Source

🐳 : dockerfile

main
Chiara 5 years ago
parent
commit
801e1ac740
  1. 10
      Dockerfile
  2. 2
      Procfile

10
Dockerfile

@ -0,0 +1,10 @@
FROM python:3.7.9
WORKDIR /app
COPY . .
RUN yarn install
RUN yarn build
CMD ["yarn","serve"]

2
Procfile

@ -1 +1 @@
web: gunicorn autoapp:app -b 0.0.0.0:$PORT -w 3
web: flask db upgrade; gunicorn autoapp:app -b 0.0.0.0:$PORT -w 3
Loading…
Cancel
Save