midou36o.github.io/Dockerfile
Midou36O beb748fbe4
Some checks failed
Svelte Website guild. / Building the website (push) Failing after 13m14s
remove pnpm-lock.yaml
2023-12-30 14:30:07 +01:00

19 lines
196 B
Docker

FROM node:21-alpine
WORKDIR /usr/src/app
COPY package.json ./
#COPY pnpm-lock.yaml ./
RUN npm install -g pnpm
RUN pnpm i
COPY . .
RUN pnpm build
EXPOSE 3000
CMD ["node", "build/index.js"]