Skip to content

Commit

Permalink
missing repo. :(
Browse files Browse the repository at this point in the history
  • Loading branch information
tagyoureit committed Apr 20, 2024
1 parent 2f4686c commit 4af4d52
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .docker/Dockerfile.linux
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ FROM node:lts-alpine AS build
RUN apk add --no-cache make gcc g++ python3 linux-headers udev tzdata

# Set the working directory for the first application
WORKDIR /app/tagyoureit/nodejs-poolcontroller
WORKDIR /app/nodejs-poolcontroller
RUN ls

# Copy package.json and package-lock.json files for the first application
COPY package*.json ./
Expand All @@ -14,8 +15,8 @@ COPY defaultConfig.json config.json
# Copy the rest of the application files for the first application
COPY . .

# Install dependencies and TypeScript
RUN npm install typescript
# Install dependencies
RUN npm ci

# Build the first application
RUN npm run build
Expand All @@ -34,13 +35,13 @@ RUN apk add git
RUN mkdir /app && chown node:node /app

# Set the working directory for the second application
WORKDIR /app/rstrouse/nodejs-poolcontroller-dashpanel
WORKDIR /app/nodejs-poolcontroller-dashpanel

# Copy built application from the build stage for the second application
COPY --from=build --chown=node:node /app .

# Install dependencies and TypeScript
RUN npm install typescript
RUN npm ci

# Build the second application
RUN npm run build
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/docker-publish-njsPC-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Checkout code from separate repo
- name: Checkout code from tagyoureit/nodejs-poolcontroller
uses: actions/checkout@v3
with:
repository: rstrouse/nodejs-poolcontroller-dashpanel # Replace with the username and repository name of the separate repository
repository: tagyoureit/nodejs-poolcontroller
ref: master # or specify the branch or tag to pull from
path: nodejs-poolcontroller

- name: Checkout code from rstrouse/nodejs-poolcontroller-dashpanel
uses: actions/checkout@v3
with:
repository: rstrouse/nodejs-poolcontroller-dashpanel #
ref: master # Specify the branch or tag to pull from
path: nodejs-poolcontroller-dashpanel # Specify the directory to checkout the code into

Expand Down

0 comments on commit 4af4d52

Please sign in to comment.