Princess3 commited on
Commit
4ad3533
·
verified ·
1 Parent(s): 8417cb6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -4,7 +4,6 @@ FROM python:3.12-slim
4
  # Set environment variables to prevent Python from writing .pyc files and buffering stdout/stderr
5
  ENV PYTHONDONTWRITEBYTECODE=1
6
  ENV PYTHONUNBUFFERED=1
7
- ENV TRANSFORMERS_CACHE=/app/cache
8
 
9
  # Install system dependencies
10
  RUN apt-get update && apt-get install -y \
@@ -17,6 +16,7 @@ RUN apt-get update && apt-get install -y \
17
 
18
  # Create a working directory
19
  WORKDIR /app
 
20
 
21
  # Install Python dependencies
22
  RUN pip install --upgrade pip
 
4
  # Set environment variables to prevent Python from writing .pyc files and buffering stdout/stderr
5
  ENV PYTHONDONTWRITEBYTECODE=1
6
  ENV PYTHONUNBUFFERED=1
 
7
 
8
  # Install system dependencies
9
  RUN apt-get update && apt-get install -y \
 
16
 
17
  # Create a working directory
18
  WORKDIR /app
19
+ WORKDIR /app/cache/
20
 
21
  # Install Python dependencies
22
  RUN pip install --upgrade pip