proxy/Dockerfile
Liam f237a28c27
Some checks failed
Publish Docker Images / docker (push) Has been cancelled
7
2023-11-16 12:58:48 +00:00

22 lines
356 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 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