imCuteCat commited on
Commit
d2c7230
1 Parent(s): 04fb1f5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -7
Dockerfile CHANGED
@@ -16,17 +16,12 @@ ENV MPLCONFIGDIR=/tmp/matplotlib
16
  ENV FONTCONFIG_PATH=/etc/fonts
17
 
18
  # Create needed directories with correct permissions
19
- RUN mkdir /tmp/matplotlib && \
20
- mkdir -p /usr/share/fonts && \
21
- mkdir -p /src/fonts && \
22
- chmod -R 777 /tmp /usr/share/fonts /src/fonts
23
 
24
  # Copy the rest of the application code
25
  COPY . /src
26
 
27
- # Ensure the directory 'flagged' is writable
28
- RUN mkdir -p /src/flagged && chmod 777 /src/flagged
29
-
30
  # Set the working directory
31
  WORKDIR /src
32
 
 
16
  ENV FONTCONFIG_PATH=/etc/fonts
17
 
18
  # Create needed directories with correct permissions
19
+ RUN mkdir -p /tmp/matplotlib /usr/share/fonts /src/fonts /root/.config /src/flagged && \
20
+ chmod -R 777 /tmp /usr/share/fonts /root/.config /src/fonts /src/flagged
 
 
21
 
22
  # Copy the rest of the application code
23
  COPY . /src
24
 
 
 
 
25
  # Set the working directory
26
  WORKDIR /src
27