proxy/Dockerfile
Liam fe97190fab
Some checks failed
Publish Docker Images / docker (push) Failing after 21s
7
2023-11-16 13:07:42 +00:00

21 lines
337 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 cd apps/$APP && pnpm run build
EXPOSE 3000
CMD pnpm apps/$APP/dist/index.js