more fixes

This commit is contained in:
2022-11-10 17:18:05 +02:00
parent 90efaead06
commit 8a845e7609
3 changed files with 1707 additions and 2237 deletions

View File

@@ -3,13 +3,16 @@ FROM node:19-alpine
WORKDIR /usr/src/app
COPY package.json ./
COPY pnpm-lock.yaml ./
RUN npm i
RUN npm install -g pnpm
RUN pnpm i
COPY . .
RUN npm run build
RUN pnpm build
EXPOSE 80
CMD [ "npm", "run", "preview" ]
CMD [ "pnpm", "preview" ]