Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
# Use an official Python runtime as a parent image
|
| 2 |
-
FROM python:3.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /app
|
|
|
|
| 1 |
# Use an official Python runtime as a parent image
|
| 2 |
+
FROM python:3.12-slim
|
| 3 |
+
|
| 4 |
+
# Set the transformers cache to a writable directory
|
| 5 |
+
ENV TRANSFORMERS_CACHE=/app/.cache
|
| 6 |
+
|
| 7 |
|
| 8 |
# Set the working directory in the container
|
| 9 |
WORKDIR /app
|