midou36o.github.io/Dockerfile
Midou36O 30e733d375
Some checks are pending
Svelte Website guild. / Building the website (push) Waiting to run
Move to node, update all dependencies, fix unocss, add a dockerfile and
a CI builder for gitea.
2023-12-29 20:13:37 +01:00

19 lines
195 B
Docker

FROM node:18-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"]