diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0a9a6fd --- /dev/null +++ b/Dockerfile | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | FROM python:latest | ||
| 2 | |||
| 3 | WORKDIR /app | ||
| 4 | COPY requirements.txt . | ||
| 5 | RUN pip install pip -U | ||
| 6 | RUN pip install -r requirements.txt | ||
| 7 | |||
| 8 | COPY . . | ||
| 9 | |||
| 10 | RUN alembic upgrade head | ||
| 11 | CMD ["python", "main.py"] | ||
