Miroga64 commited on
Commit
6effb7d
·
1 Parent(s): 8cdb015

Removed user

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -1,6 +1,10 @@
1
  FROM python:3.8
2
  WORKDIR /code
 
 
3
  ENV DEBIAN_FRONTEND noninteractive
 
 
4
  ENV NUMBA_CACHE_DIR=/tmp/
5
  ENV HF_HOME="/root/cache/hf_cache_home"
6
 
@@ -10,4 +14,6 @@ RUN apt-get update -y && apt install python3-pip -y
10
  RUN pip install -r requirements.txt
11
  RUN apt-get install libsndfile1-dev -y
12
  COPY . .
 
 
13
  CMD ["python3", "main.py"]
 
1
  FROM python:3.8
2
  WORKDIR /code
3
+
4
+
5
  ENV DEBIAN_FRONTEND noninteractive
6
+
7
+
8
  ENV NUMBA_CACHE_DIR=/tmp/
9
  ENV HF_HOME="/root/cache/hf_cache_home"
10
 
 
14
  RUN pip install -r requirements.txt
15
  RUN apt-get install libsndfile1-dev -y
16
  COPY . .
17
+ RUN mkdir /.cache
18
+ RUN chmod 777 /.cache
19
  CMD ["python3", "main.py"]