Spaces:
Sleeping
Sleeping
lucas-wa
commited on
Commit
·
49cd125
1
Parent(s):
48af309
Update
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -11,15 +11,15 @@ USER user
|
|
11 |
ENV HOME=/home/user \
|
12 |
PATH=/home/user/.local/bin:$PATH
|
13 |
|
14 |
-
COPY --chown=user 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 apt-get install -y curl
|
21 |
|
22 |
-
RUN curl -fsSL https://deb.nodesource.com/setup_21.x | bash - && apt-get install -y nodejs
|
23 |
|
24 |
RUN cd web && npm install
|
25 |
|
|
|
11 |
ENV HOME=/home/user \
|
12 |
PATH=/home/user/.local/bin:$PATH
|
13 |
|
14 |
+
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 |
|