Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -4,8 +4,8 @@ FROM python:3.10.9
|
|
4 |
RUN addgroup --gid 1001 appgroup && adduser --uid 1001 --gid 1001 --disabled-password --gecos "" appuser
|
5 |
|
6 |
# Create directories with appropriate permissions and change ownership
|
7 |
-
RUN mkdir -
|
8 |
-
RUN chown -R appuser:appgroup /tmp/NUMBA_CACHE_DIR /tmp/MPLCONFIGDIR /home/appuser/.local
|
9 |
|
10 |
# Set environment variables
|
11 |
ENV NUMBA_CACHE_DIR=/tmp/NUMBA_CACHE_DIR/
|
|
|
4 |
RUN addgroup --gid 1001 appgroup && adduser --uid 1001 --gid 1001 --disabled-password --gecos "" appuser
|
5 |
|
6 |
# Create directories with appropriate permissions and change ownership
|
7 |
+
RUN mkdir -m 777 /tmp/NUMBA_CACHE_DIR /tmp/MPLCONFIGDIR /home/appuser/.local
|
8 |
+
RUN chown -R appuser:appgroup /tmp/NUMBA_CACHE_DIR /tmp/MPLCONFIGDIR /home/appuser/.local
|
9 |
|
10 |
# Set environment variables
|
11 |
ENV NUMBA_CACHE_DIR=/tmp/NUMBA_CACHE_DIR/
|