diff options
| author | Tolmachev Igor <me@igorek.dev> | 2026-03-22 19:56:47 +0300 |
|---|---|---|
| committer | Tolmachev Igor <me@igorek.dev> | 2026-03-22 20:19:27 +0300 |
| commit | 536d022e8a55f6e53f01dfb7e0fae2ef24385aad (patch) | |
| tree | 721d7195db7fc12c725b27301f77e345df64d1b4 /Dockerfile | |
| download | vpn_manager_bot-536d022e8a55f6e53f01dfb7e0fae2ef24385aad.tar.gz vpn_manager_bot-536d022e8a55f6e53f01dfb7e0fae2ef24385aad.zip | |
Init project
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"] | ||
