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

@ -29,14 +29,12 @@ jobs:
uses: docker/build-push-action@v4
with:
push: true
context: ./apps/node
file: ./apps/node/Dockerfile
file: ./Dockerfile.Node
tags: fascinated/proxy:node-latest
- name: Build and Push (Proxy)
uses: docker/build-push-action@v4
with:
push: true
context: ./apps/proxy
file: ./apps/proxy/Dockerfile
file: ./Dockerfile.Proxy
tags: fascinated/proxy:proxy-latest

@ -4,10 +4,10 @@ WORKDIR /usr/src/app
# Copy root package.json and lockfile
COPY package.json ./
# COPY pnpm-lock.yaml ./
COPY pnpm-lock.yaml ./
# # Copy the node package.json
# COPY apps/node/package.json ./apps/node/package.json
# Copy the node package.json
COPY apps/node/package.json ./apps/node/package.json
RUN pnpm install

@ -4,10 +4,10 @@ WORKDIR /usr/src/app
# Copy root package.json and lockfile
COPY package.json ./
# COPY pnpm-lock.yaml ./
COPY pnpm-lock.yaml ./
# # Copy the proxy package.json
# COPY apps/proxy/package.json ./apps/proxy/package.json
# Copy the proxy package.json
COPY apps/proxy/package.json ./apps/proxy/package.json
RUN pnpm install