Arts-of-coding commited on
Commit
344db6d
·
verified ·
1 Parent(s): c0fa236

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -8,8 +8,13 @@ EXPOSE 5000
8
 
9
  LABEL Maintainer="arts-of-coding"
10
 
 
 
 
11
  WORKDIR /
12
 
 
 
13
  # fix locales
14
  RUN apt-get update \
15
  && apt-get install -y --no-install-recommends locales \
@@ -28,10 +33,6 @@ RUN apt-get update \
28
  && apt-get install -y --no-install-recommends fuse blobfuse libcurl3-gnutls libgnutls30 \
29
  && rm -rf /var/lib/apt/lists/*
30
 
31
- RUN useradd -m -u 1000 user
32
- USER user
33
- RUN chown -R user:user /
34
-
35
  COPY mount-blobfuse.sh /
36
  RUN chmod +x /mount-blobfuse.sh
37
  #COPY --from=compiler /opt/venv/bin/activate /usr/local/bin/activate_venv
 
8
 
9
  LABEL Maintainer="arts-of-coding"
10
 
11
+ RUN useradd -m -u 1000 user
12
+ USER user
13
+
14
  WORKDIR /
15
 
16
+ RUN chown -R user:user /
17
+
18
  # fix locales
19
  RUN apt-get update \
20
  && apt-get install -y --no-install-recommends locales \
 
33
  && apt-get install -y --no-install-recommends fuse blobfuse libcurl3-gnutls libgnutls30 \
34
  && rm -rf /var/lib/apt/lists/*
35
 
 
 
 
 
36
  COPY mount-blobfuse.sh /
37
  RUN chmod +x /mount-blobfuse.sh
38
  #COPY --from=compiler /opt/venv/bin/activate /usr/local/bin/activate_venv