mike dupont
commited on
Commit
•
4665748
1
Parent(s):
7e89977
chmod on data
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -22,6 +22,7 @@ RUN pip3 install --no-cache-dir -r /app/requirements.txt
|
|
22 |
|
23 |
# User
|
24 |
RUN useradd -m -u 1000 user
|
|
|
25 |
USER user
|
26 |
ENV HOME /home/user
|
27 |
ENV PATH $HOME/.local/bin:$PATH
|
@@ -32,7 +33,7 @@ WORKDIR $HOME/app
|
|
32 |
COPY . $HOME/app
|
33 |
|
34 |
# make writable
|
35 |
-
|
36 |
|
37 |
EXPOSE 8501
|
38 |
CMD streamlit run app.py \
|
|
|
22 |
|
23 |
# User
|
24 |
RUN useradd -m -u 1000 user
|
25 |
+
RUN chmod 777 /data
|
26 |
USER user
|
27 |
ENV HOME /home/user
|
28 |
ENV PATH $HOME/.local/bin:$PATH
|
|
|
33 |
COPY . $HOME/app
|
34 |
|
35 |
# make writable
|
36 |
+
|
37 |
|
38 |
EXPOSE 8501
|
39 |
CMD streamlit run app.py \
|