Fred808 commited on
Commit
50cc78a
·
verified ·
1 Parent(s): 5874c66

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -10,6 +10,11 @@ ARG DEBCONF_NOWARNINGS="yes"
10
  ARG DEBIAN_FRONTEND="noninteractive"
11
  ARG DEBCONF_NONINTERACTIVE_SEEN="true"
12
 
 
 
 
 
 
13
  RUN set -eu && \
14
  apt-get update && \
15
  apt-get --no-install-recommends -y install \
@@ -68,7 +73,7 @@ EXPOSE 22 5900 8006
68
 
69
 
70
  # Make the entire /app directory fully writeable for all users
71
- RUN chmod -R 777 /
72
 
73
  # Ensure the app runs as the same user as the Space UI
74
  RUN useradd -m -u 1000 user
 
10
  ARG DEBIAN_FRONTEND="noninteractive"
11
  ARG DEBCONF_NONINTERACTIVE_SEEN="true"
12
 
13
+
14
+ WORKDIR /app
15
+ # Copy app code
16
+ COPY . .
17
+
18
  RUN set -eu && \
19
  apt-get update && \
20
  apt-get --no-install-recommends -y install \
 
73
 
74
 
75
  # Make the entire /app directory fully writeable for all users
76
+ RUN chmod -R 777 /app
77
 
78
  # Ensure the app runs as the same user as the Space UI
79
  RUN useradd -m -u 1000 user