diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -7,11 +7,12 @@ RUN sed -i -e 's/# ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/' /etc/locale.gen | |||
| 7 | RUN locale-gen | 7 | RUN locale-gen |
| 8 | 8 | ||
| 9 | WORKDIR /app | 9 | WORKDIR /app |
| 10 | COPY requirements.txt . | 10 | COPY pyproject.toml . |
| 11 | RUN pip install pip -U | 11 | RUN pip install pip -U |
| 12 | RUN pip install -r requirements.txt | 12 | RUN pip install . |
| 13 | 13 | ||
| 14 | COPY . . | 14 | COPY . . |
| 15 | 15 | ||
| 16 | ARG CACHEBUST=1 | ||
| 16 | RUN alembic upgrade head | 17 | RUN alembic upgrade head |
| 17 | CMD ["python", "main.py"] | 18 | CMD ["python", "main.py"] |
