Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -6
Dockerfile
CHANGED
@@ -8,13 +8,8 @@ EXPOSE 5000
|
|
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 \
|
@@ -54,10 +49,17 @@ COPY ./dash_plotly_QC_scRNA.py ./
|
|
54 |
|
55 |
COPY ./main.py ./
|
56 |
|
|
|
|
|
|
|
57 |
RUN mkdir -p /app/azure
|
58 |
RUN chmod 777 /app/azure
|
59 |
|
60 |
-
|
|
|
|
|
|
|
|
|
61 |
|
62 |
# How the docker app will run
|
63 |
ENTRYPOINT ["/bin/bash", "-c", "/mount-blobfuse.sh; exec $SHELL"]
|
|
|
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 \
|
|
|
49 |
|
50 |
COPY ./main.py ./
|
51 |
|
52 |
+
RUN useradd -m -u 1000 user
|
53 |
+
USER user
|
54 |
+
|
55 |
RUN mkdir -p /app/azure
|
56 |
RUN chmod 777 /app/azure
|
57 |
|
58 |
+
RUN chown -R user:user /app/azure
|
59 |
+
|
60 |
+
COPY --chown=user:user . /app/azure
|
61 |
+
|
62 |
+
WORKDIR /
|
63 |
|
64 |
# How the docker app will run
|
65 |
ENTRYPOINT ["/bin/bash", "-c", "/mount-blobfuse.sh; exec $SHELL"]
|