aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 4a1ddad..ec2514d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,11 +7,12 @@ RUN sed -i -e 's/# ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/' /etc/locale.gen
7RUN locale-gen 7RUN locale-gen
8 8
9WORKDIR /app 9WORKDIR /app
10COPY requirements.txt . 10COPY pyproject.toml .
11RUN pip install pip -U 11RUN pip install pip -U
12RUN pip install -r requirements.txt 12RUN pip install .
13 13
14COPY . . 14COPY . .
15 15
16ARG CACHEBUST=1
16RUN alembic upgrade head 17RUN alembic upgrade head
17CMD ["python", "main.py"] 18CMD ["python", "main.py"]