Spaces:
Paused
Paused
try reordering commands
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -23,12 +23,13 @@ RUN pip install --no-cache-dir --upgrade pip && \
|
|
| 23 |
COPY notebooks/ notebooks/
|
| 24 |
COPY data/ data/
|
| 25 |
|
| 26 |
-
# Make sure 'jovyan' user owns these files/folders
|
| 27 |
-
RUN chown -R jovyan:users /home/jovyan/work
|
| 28 |
|
| 29 |
# Switch back to 'jovyan' user (the default in the jupyter/docker-stacks images)
|
| 30 |
USER $NB_UID
|
| 31 |
|
|
|
|
|
|
|
|
|
|
| 32 |
# Expose Jupyter's default port
|
| 33 |
EXPOSE 8888
|
| 34 |
|
|
|
|
| 23 |
COPY notebooks/ notebooks/
|
| 24 |
COPY data/ data/
|
| 25 |
|
|
|
|
|
|
|
| 26 |
|
| 27 |
# Switch back to 'jovyan' user (the default in the jupyter/docker-stacks images)
|
| 28 |
USER $NB_UID
|
| 29 |
|
| 30 |
+
# Make sure 'jovyan' user owns these files/folders
|
| 31 |
+
RUN chown -R jovyan:users /home/jovyan/work
|
| 32 |
+
|
| 33 |
# Expose Jupyter's default port
|
| 34 |
EXPOSE 8888
|
| 35 |
|