Update Dockerfile
This commit is contained in:
+2
-1
@@ -6,8 +6,9 @@ COPY package*.json .
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN apk update
|
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
|
||||||
|
RUN npm install --global corepack@latest
|
||||||
|
RUN corepack enable pnpm
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
VOLUME /app
|
VOLUME /app
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|||||||
Reference in New Issue
Block a user