proxy/Dockerfile
Liam f51d05283d
All checks were successful
Publish Docker Images / docker (push) Successful in 46s
7
2023-11-16 13:03:59 +00:00

21 lines
338 B
Docker

FROM fascinated/docker-images:node-pnpm-latest
ARG APP
ENV APP=${APP}
WORKDIR /usr/src/app
# Copy root package.json and lockfile
COPY package.json ./
COPY pnpm-lock.yaml ./
# Copy the app's sourse
COPY apps/${APP} ./apps/${APP}
RUN pnpm install
RUN pnpm build --filter apps/${APP}
EXPOSE 3000
CMD pnpm apps/$APP/dist/index.js