J5Tsai commited on
Commit
0cc6f76
·
1 Parent(s): be5ba04
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -10,8 +10,8 @@ ARG LIVE_XL_TAR=live_xl_rel_ubuntu-22.04_202403190741.tar
10
 
11
  EXPOSE 7860
12
 
13
- RUN mkdir -p /data
14
- RUN chmod 777 /data
15
 
16
  # The Space container runs with user ID 1000
17
  RUN useradd -m -u 1000 user
@@ -19,8 +19,6 @@ ENV HOME=/home/user
19
 
20
  USER user
21
 
22
- RUN apt-get update -y && apt-get install -y wget \
23
- && apt-get clean && rm -f /var/lib/apt/lists/*_*
24
  RUN wget --quiet https://github.com/jackalcooper/live_xl/releases/download/latest/${LIVE_XL_TAR} && \
25
  tar xf ${LIVE_XL_TAR}
26
  ENV PORT=7860 SECRET_KEY_BASE="Z/VeN8hw0cQruiL3YyWG52IPq+hnG9Ucj1RuW0263Iddmd8f+j7i/b7NCs1fiLCx"
 
10
 
11
  EXPOSE 7860
12
 
13
+ RUN apt-get update -y && apt-get install -y wget \
14
+ && apt-get clean && rm -f /var/lib/apt/lists/*_*
15
 
16
  # The Space container runs with user ID 1000
17
  RUN useradd -m -u 1000 user
 
19
 
20
  USER user
21
 
 
 
22
  RUN wget --quiet https://github.com/jackalcooper/live_xl/releases/download/latest/${LIVE_XL_TAR} && \
23
  tar xf ${LIVE_XL_TAR}
24
  ENV PORT=7860 SECRET_KEY_BASE="Z/VeN8hw0cQruiL3YyWG52IPq+hnG9Ucj1RuW0263Iddmd8f+j7i/b7NCs1fiLCx"