2023-11-08 06:45:46 +00:00
|
|
|
FROM fascinated/docker-images:node-pnpm-latest
|
|
|
|
|
2023-10-27 11:10:20 +00:00
|
|
|
WORKDIR /usr/src/app
|
2023-11-08 06:45:46 +00:00
|
|
|
COPY package.json pnpm-lock.yaml ./
|
|
|
|
RUN pnpm install
|
2023-10-27 11:19:22 +00:00
|
|
|
COPY . .
|
2024-01-16 15:33:50 +00:00
|
|
|
RUN pnpm run build
|
2023-10-27 14:54:11 +00:00
|
|
|
ENV PORT=80
|
|
|
|
EXPOSE 80
|
2023-11-08 06:45:46 +00:00
|
|
|
CMD [ "pnpm", "start" ]
|