futranbg commited on
Commit
39e8e1c
·
verified ·
1 Parent(s): b1856cd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -4,11 +4,11 @@ FROM python:3.10
4
  # Set the working directory in the container
5
  WORKDIR /app
6
 
7
- # Set the working directory in the container
8
- WORKDIR /app
9
 
10
  # Install build dependencies required for fastbpe
11
- RUN apt-get update && apt-get install -y git build-essential
12
 
13
  # Copy the requirements file into the container
14
  COPY requirements.txt .
 
4
  # Set the working directory in the container
5
  WORKDIR /app
6
 
7
+ # Set the cache directory for Hugging Face to a writable location
8
+ ENV HF_HOME /app/.cache/huggingface
9
 
10
  # Install build dependencies required for fastbpe
11
+ RUN apt-get update && apt-get upgrade
12
 
13
  # Copy the requirements file into the container
14
  COPY requirements.txt .