proxy/Dockerfile
Liam 39b0a653ed
All checks were successful
Publish Docker Images / docker (push) Successful in 1m3s
7
2023-11-16 13:02:02 +00:00

22 lines
330 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
# Copy app source
COPY . .
EXPOSE 3000
CMD pnpm apps/$APP/dist/index.js