proxy/apps/node/Dockerfile

10 lines
199 B
Docker
Raw Normal View History

2023-11-16 11:56:52 +00:00
FROM fascinated/docker-images:node-pnpm-latest
WORKDIR /usr/src/app
COPY package.json pnpm-lock.yaml ./
RUN pnpm install
COPY . .
RUN pnpm run build
ENV PORT=3000
EXPOSE 3000
CMD [ "pnpm", "start" ]