Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -30,7 +30,7 @@ COPY tests.py /app/tests.py
|
|
30 |
|
31 |
# --- Build Stage ---
|
32 |
# Temporarily switch to root for package installation
|
33 |
-
|
34 |
RUN sed -i 's/#\(.*\/community\)/\1/' /etc/apk/repositories
|
35 |
# Install Node.js dependencies first (leverages layer cache if package.json doesn't change often)
|
36 |
# Assuming package.json is in /app/api in the base image or copied before
|
|
|
30 |
|
31 |
# --- Build Stage ---
|
32 |
# Temporarily switch to root for package installation
|
33 |
+
USER root
|
34 |
RUN sed -i 's/#\(.*\/community\)/\1/' /etc/apk/repositories
|
35 |
# Install Node.js dependencies first (leverages layer cache if package.json doesn't change often)
|
36 |
# Assuming package.json is in /app/api in the base image or copied before
|