dbmoradi60 commited on
Commit
10bd6ea
·
verified ·
1 Parent(s): 0adb580

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -1,18 +1,19 @@
1
  FROM python:3.10-slim
2
 
3
- # Install system dependencies
4
  RUN apt-get update && apt-get install -y \
5
  build-essential \
6
  libssl-dev \
7
  libffi-dev \
8
  python3-dev \
 
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  # Set working directory
12
  WORKDIR /app
13
 
14
- # Create a cache directory with proper permissions
15
- RUN mkdir -p /app/cache/huggingface && chmod -R 777 /app/cache
16
  RUN mkdir -p /app/gpt-oss-20b && chmod -R 777 /app/gpt-oss-20b
17
 
18
  # Set environment variables for Hugging Face cache
 
1
  FROM python:3.10-slim
2
 
3
+ # Install system dependencies, including git
4
  RUN apt-get update && apt-get install -y \
5
  build-essential \
6
  libssl-dev \
7
  libffi-dev \
8
  python3-dev \
9
+ git \
10
  && rm -rf /var/lib/apt/lists/*
11
 
12
  # Set working directory
13
  WORKDIR /app
14
 
15
+ # Create cache and model directories with proper permissions
16
+ RUN mkdir -p /app/cache/huggingface && chmod -R 777 /app/cache/huggingface
17
  RUN mkdir -p /app/gpt-oss-20b && chmod -R 777 /app/gpt-oss-20b
18
 
19
  # Set environment variables for Hugging Face cache