7
All checks were successful
Publish Docker Images / docker (push) Successful in 1m15s

This commit is contained in:
Lee
2023-11-16 12:49:58 +00:00
parent 743db90a50
commit d47dab453b
3 changed files with 8 additions and 10 deletions

19
Dockerfile.Proxy Normal file
View File

@ -0,0 +1,19 @@
FROM fascinated/docker-images:node-pnpm-latest
WORKDIR /usr/src/app
# Copy root package.json and lockfile
COPY package.json ./
COPY pnpm-lock.yaml ./
# Copy the proxy package.json
COPY apps/proxy/package.json ./apps/proxy/package.json
RUN pnpm install
# Copy app source
COPY . .
EXPOSE 3000
CMD [ "nnpm", "apps/proxy/index.js" ]