MostlyK
commited on
Commit
·
49ec83e
1
Parent(s):
de4059f
HF docker permission fixes
Browse files- Dockerfile +2 -0
- requirements.txt +1 -0
Dockerfile
CHANGED
@@ -31,6 +31,8 @@ COPY --chown=appuser:appuser requirements.txt .
|
|
31 |
RUN pip install --no-cache-dir --upgrade pip && \
|
32 |
pip install --no-cache-dir -r requirements.txt
|
33 |
|
|
|
|
|
34 |
COPY --chown=appuser:appuser src/ ./src/
|
35 |
|
36 |
RUN mkdir -p /app/.cache/pip /app/.cache/matplotlib /app/.cache/huggingface \
|
|
|
31 |
RUN pip install --no-cache-dir --upgrade pip && \
|
32 |
pip install --no-cache-dir -r requirements.txt
|
33 |
|
34 |
+
RUN python -m spacy download en_core_web_sm
|
35 |
+
|
36 |
COPY --chown=appuser:appuser src/ ./src/
|
37 |
|
38 |
RUN mkdir -p /app/.cache/pip /app/.cache/matplotlib /app/.cache/huggingface \
|
requirements.txt
CHANGED
@@ -11,3 +11,4 @@ torchvision
|
|
11 |
torchaudio
|
12 |
accelerate
|
13 |
pydub
|
|
|
|
11 |
torchaudio
|
12 |
accelerate
|
13 |
pydub
|
14 |
+
spacy
|