File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM dvivanov/wst-base:v0.2
1+ FROM dvivanov/wst-base:v0.3
22
33LABEL version="0.3"
44LABEL project="wst"
55
6+ ENV PYTHONPATH="/project/:/project/app/"
7+
68WORKDIR /project
79
810COPY requirements.txt ./
9- RUN python3 -m pip install --no-cache-dir -r requirements.txt
11+ RUN python -m pip install --no-cache-dir -r requirements.txt
1012
1113COPY . .
1214
13- ENV PYTHONPATH='/project/:/project/app/'
1415WORKDIR /project/app
Original file line number Diff line number Diff line change 1+ FROM debian:12-slim
2+
13ENV LANG=C.UTF-8 \
4+ LC_ALL=C.UTF-8 \
25 DEBIAN_FRONTEND=noninteractive \
36 PIP_DEFAULT_TIMEOUT=120 \
47 PIP_RETRIES=10 \
58 PIP_DISABLE_PIP_VERSION_CHECK=1 \
6- PIP_INDEX_URL=https://pypi.org/simple
9+ PIP_INDEX_URL=https://pypi.org/simple \
10+ VIRTUAL_ENV=/opt/venv \
11+ PATH="/opt/venv/bin:${PATH}"
712
813LABEL version="0.3"
914LABEL project="wst"
1015
16+ WORKDIR /project
17+
1118RUN apt-get update && apt-get install -y --no-install-recommends \
12- python3-pip=23.0.1+dfsg-1 \
13- python3-dev=3.11.2-1+b1 \
14- ffmpeg=7:5.1.8-0+deb12u1 \
15- libimage-exiftool-perl=12.57+dfsg-1 \
16- inkscape=1.2.2-2+b1 \
17- mupdf=1.21.1+ds2-1+deb12u1 \
18- mupdf-tools=1.21.1+ds2-1+deb12u1 \
19- libgconf-2-4=3.2.6-8 \
20- libnss3=2:3.87.1-1+deb12u2 \
21- libxss1=1:1.2.3-1 \
22- libmagic1=1:5.44-3 \
23- nano=7.2-1+deb12u1 \
24- libreoffice-impress=4:7.4.7-1+deb12u10 \
25- default-jre=2:1.17-74 \
26- ca-certificates=20230311+deb12u1 && \
27- rm -rf /var/lib/apt/lists/*
19+ python3 \
20+ python3-pip \
21+ python3-dev \
22+ python3-venv \
23+ ffmpeg \
24+ libimage-exiftool-perl \
25+ inkscape \
26+ mupdf \
27+ mupdf-tools \
28+ libgconf-2-4 \
29+ libnss3 \
30+ libxss1 \
31+ libmagic1 \
32+ nano \
33+ libreoffice-impress \
34+ default-jre \
35+ ca-certificates \
36+ && python3 -m venv "${VIRTUAL_ENV}" \
37+ && python -m pip install --no-cache-dir --upgrade pip setuptools wheel \
38+ && rm -rf /var/lib/apt/lists/*
2839
2940COPY requirements.txt ./
30- RUN python3 -m pip install --no-cache-dir -r requirements.txt
41+ RUN python -m pip install --no-cache-dir -r requirements.txt
Original file line number Diff line number Diff line change 22
33## Инструкция по полному и частичному запуску приложения
44- ` docker-compose --profile training_profile --profile interview_profile --profile question_generate_profile up --build ` - запуск приложения полностью (оба режима)
5- - ` docker-compose up --profile training_profile ` - запуск приложения без функционала интервью
6- - ` docker-compose up --profile interview_profile ` - запуск приложения без функционала тренировок
5+ - ` docker-compose --profile training_profile up --build ` - запуск приложения без функционала интервью
6+ - ` docker-compose --profile interview_profile up --build ` - запуск приложения без функционала тренировок
Original file line number Diff line number Diff line change 11x-wst-service : &wst-service
22 build :
33 context : .
4- image : wst-image:v0.2
4+ image : wst-image:v0.3
55 restart : always
66
77services :
@@ -130,4 +130,4 @@ volumes:
130130 nltk_data :
131131 mongo_data :
132132 rut5_model :
133- research_logs :
133+ research_logs:
You can’t perform that action at this time.
0 commit comments