akiko19191 commited on
Commit
009b841
·
verified ·
1 Parent(s): 59209d6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- # 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
 
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