2022-12-30 19:56:51 +02:00
|
|
|
FROM node:18-alpine
|
2022-08-27 19:38:41 +03:00
|
|
|
|
2022-11-09 20:42:34 +02:00
|
|
|
WORKDIR /usr/src/app
|
2022-08-27 19:38:41 +03:00
|
|
|
|
|
|
|
COPY package.json ./
|
2023-01-07 19:50:13 +02:00
|
|
|
#COPY pnpm-lock.yaml ./
|
2022-11-09 20:42:34 +02:00
|
|
|
|
2023-01-07 19:50:13 +02:00
|
|
|
#RUN npm install -g pnpm
|
2022-11-10 17:18:05 +02:00
|
|
|
|
2023-01-07 19:50:13 +02:00
|
|
|
RUN npm i
|
2022-11-09 20:42:34 +02:00
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
2023-01-07 19:50:13 +02:00
|
|
|
RUN npm run build
|
2022-11-09 20:42:34 +02:00
|
|
|
|
2022-11-11 15:32:29 +02:00
|
|
|
EXPOSE 4173
|
2022-11-09 20:42:34 +02:00
|
|
|
|
2023-01-06 10:16:32 +02:00
|
|
|
ARG ORIGIN=https://projectsegfau.lt
|
|
|
|
|
|
|
|
CMD ["node", "build/index.js"]
|