lucas-wa commited on
Commit
58b8d89
·
1 Parent(s): 49cd125
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -4,6 +4,10 @@ RUN apt-get update
4
 
5
  RUN apt-get install -y python3 pip
6
 
 
 
 
 
7
  WORKDIR /code
8
 
9
  RUN useradd -m -u 1000 user
@@ -15,11 +19,8 @@ COPY --chown=user server /code/server/
15
 
16
  RUN pip install --no-cache-dir --upgrade -r /code/server/requirements.txt --break-system-packages
17
 
18
- COPY --chown=user web /code/web/
19
-
20
- RUN sudo apt-get install -y curl
21
 
22
- RUN sudo curl -fsSL https://deb.nodesource.com/setup_21.x | bash - && apt-get install -y nodejs
23
 
24
  RUN cd web && npm install
25
 
 
4
 
5
  RUN apt-get install -y python3 pip
6
 
7
+ RUN apt-get install -y curl
8
+
9
+ RUN curl -fsSL https://deb.nodesource.com/setup_21.x | bash - && apt-get install -y nodejs
10
+
11
  WORKDIR /code
12
 
13
  RUN useradd -m -u 1000 user
 
19
 
20
  RUN pip install --no-cache-dir --upgrade -r /code/server/requirements.txt --break-system-packages
21
 
22
+ COPY web /code/web/
 
 
23
 
 
24
 
25
  RUN cd web && npm install
26