proxy/apps/node/Dockerfile

19 lines
344 B
Docker
Raw Normal View History

2023-11-16 11:56:52 +00:00
FROM fascinated/docker-images:node-pnpm-latest
2023-11-16 12:32:38 +00:00
WORKDIR /usr/src/app
# Copy root package.json and lockfile
COPY package.json ./
2023-11-16 12:44:49 +00:00
# COPY pnpm-lock.yaml ./
2023-11-16 12:32:38 +00:00
2023-11-16 12:43:26 +00:00
# # Copy the node package.json
# COPY apps/node/package.json ./apps/node/package.json
2023-11-16 12:32:38 +00:00
2023-11-16 12:24:38 +00:00
RUN pnpm install
2023-11-16 12:32:38 +00:00
# Copy app source
COPY . .
2023-11-16 11:56:52 +00:00
EXPOSE 3000
2023-11-16 12:32:38 +00:00
CMD [ "nnpm", "apps/node/index.js" ]