Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -3,7 +3,8 @@ FROM node:current-bullseye
|
|
| 3 |
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /vpsfree-45
|
| 6 |
-
|
|
|
|
| 7 |
# Copy package.json and package-lock.json
|
| 8 |
COPY package*.json ./
|
| 9 |
|
|
|
|
| 3 |
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /vpsfree-45
|
| 6 |
+
# Root
|
| 7 |
+
USER root
|
| 8 |
# Copy package.json and package-lock.json
|
| 9 |
COPY package*.json ./
|
| 10 |
|