proxy/apps/node/Dockerfile
Liam cb99bb2032
Some checks failed
Publish Docker Images / docker (push) Failing after 13s
docker
2023-11-16 12:32:38 +00:00

19 lines
338 B
Docker

FROM fascinated/docker-images:node-pnpm-latest
WORKDIR /usr/src/app
# Copy root package.json and lockfile
COPY package.json ./
COPY pnpm-lock.yaml ./
# Copy the node package.json
COPY apps/node/package.json ./apps/node/package.json
RUN pnpm install
# Copy app source
COPY . .
EXPOSE 3000
CMD [ "nnpm", "apps/node/index.js" ]