webcompile/Dockerfile

20 lines
235 B
Docker
Raw Normal View History

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