Browse Source

👷 Add dockerfile for CI

main
Galimede 6 years ago
parent
commit
1cff66c8ad
  1. 13
      Dockerfile

13
Dockerfile

@ -0,0 +1,13 @@
FROM python:3.9.1
COPY . /app
WORKDIR /app
ENV FLASK_APP=autoapp.py
RUN pip install -r requirements.txt
EXPOSE 8000
CMD["flask", "db", "upgrade"]
CMD["python", "autoapp.py"]
Loading…
Cancel
Save