2023-11-08 06:45:46 +00:00
|
|
|
FROM fascinated/docker-images:node-pnpm-latest
|
|
|
|
|
2023-10-27 12:10:20 +01: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 12:19:22 +01:00
|
|
|
COPY . .
|
2024-01-16 15:33:50 +00:00
|
|
|
RUN pnpm run build
|
2023-10-27 15:54:11 +01:00
|
|
|
ENV PORT=80
|
|
|
|
EXPOSE 80
|
2023-11-08 06:45:46 +00:00
|
|
|
CMD [ "pnpm", "start" ]
|