proxy/Dockerfile
Liam df3e9ee1c9
All checks were successful
Publish Docker Images / docker (push) Successful in 1m6s
docker
2023-11-16 12:54:49 +00:00

21 lines
352 B
Docker

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