File size: 387 Bytes
3991f7e
 
 
6bfd1d4
 
0f48a24
 
 
 
3991f7e
 
1
2
3
4
5
6
7
8
9
10
11
# Use the base image from your Docker container
FROM trcoot/cpu-casuallm:latest

# Set the environment variable for the Hugging Face cache directory
ENV HF_HOME=/app/.cache 

# Create the cache directory and give the appropriate permissions
RUN mkdir -p /app/.cache && chmod 777 /app/.cache

# Start the application (modify this based on your app's entry point)
CMD ["python", "app.py"]