fdaudens HF staff commited on
Commit
dac669c
·
verified ·
1 Parent(s): 0913112

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -77,6 +77,10 @@ RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
77
 
78
  RUN mkdir /data && chown user:user /data
79
 
 
 
 
 
80
  #######################################
81
  # End root user section
82
  #######################################
@@ -102,4 +106,4 @@ ENV PYTHONUNBUFFERED=1 \
102
  SYSTEM=spaces \
103
  SHELL=/bin/bash
104
 
105
- CMD ["./start_server.sh"]
 
77
 
78
  RUN mkdir /data && chown user:user /data
79
 
80
+ # Create a backup directory for original notebooks (ADD THIS HERE)
81
+ RUN mkdir -p /home/user/original_notebooks
82
+ RUN chown user:user /home/user/original_notebooks
83
+
84
  #######################################
85
  # End root user section
86
  #######################################
 
106
  SYSTEM=spaces \
107
  SHELL=/bin/bash
108
 
109
+ CMD ["./start_server.sh"]