website/Dockerfile
2023-01-06 10:16:32 +02:00

20 lines
231 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 4173
ARG ORIGIN=https://projectsegfau.lt
CMD ["node", "build/index.js"]