proxy/apps/proxy/Dockerfile

19 lines
348 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
2023-11-16 11:56:52 +00:00
WORKDIR /usr/src/app
2023-11-16 12:32:38 +00:00
# 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 proxy package.json
# COPY apps/proxy/package.json ./apps/proxy/package.json
2023-11-16 12:32:38 +00:00
RUN pnpm install
# 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/proxy/index.js" ]