fix(docker)
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,9 @@ FROM python:3.12-slim
|
|
| 4 |
# Set working directory
|
| 5 |
WORKDIR /app
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
# Install system dependencies
|
| 8 |
RUN apt-get update && apt-get install -y \
|
| 9 |
build-essential \
|
|
|
|
| 4 |
# Set working directory
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
+
ENV TRANSFORMERS_CACHE=/tmp/.cache
|
| 8 |
+
RUN mkdir -p /tmp/.cache && chmod -R 777 /tmp/.cache
|
| 9 |
+
|
| 10 |
# Install system dependencies
|
| 11 |
RUN apt-get update && apt-get install -y \
|
| 12 |
build-essential \
|