monra commited on
Commit
29bce4e
1 Parent(s): 060d729

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -12
Dockerfile CHANGED
@@ -1,16 +1,18 @@
1
- FROM python:3.10-slim-buster
2
-
3
- WORKDIR /app
4
-
5
- COPY requirements.txt requirements.txt
6
 
7
  RUN python -m venv venv
8
  ENV PATH="/app/venv/bin:$PATH"
9
 
10
- RUN apt-get update && \
11
- apt-get install -y --no-install-recommends build-essential libffi-dev cmake libcurl4-openssl-dev && \
12
- pip3 install --no-cache-dir -r requirements.txt
13
-
14
- COPY . .
15
-
16
- CMD ["python3", "./run.py"]
 
 
 
1
+ FROM python:3.10-slim-buster
2
+
3
+ WORKDIR /app
4
+
5
+ COPY requirements.txt requirements.txt
6
 
7
  RUN python -m venv venv
8
  ENV PATH="/app/venv/bin:$PATH"
9
 
10
+ RUN apt-get update && \
11
+ apt-get install -y --no-install-recommends build-essential libffi-dev cmake libcurl4-openssl-dev && \
12
+ pip3 install --no-cache-dir -r requirements.txt
13
+
14
+ RUN chmod -R 777 translations
15
+
16
+ COPY . .
17
+
18
+ CMD ["python3", "./run.py"]