Update Dockerfile
This commit is contained in:
+2
-1
@@ -6,8 +6,9 @@ COPY package*.json .
|
||||
COPY . .
|
||||
|
||||
RUN apk update
|
||||
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sh -
|
||||
RUN npm install
|
||||
RUN npm install --global corepack@latest
|
||||
RUN corepack enable pnpm
|
||||
RUN npm run build
|
||||
VOLUME /app
|
||||
EXPOSE 8080
|
||||
|
||||
Reference in New Issue
Block a user