Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tagyoureit committed Apr 20, 2024
1 parent 6ea0c40 commit 298b6da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .docker/Dockerfile.linux
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ RUN mkdir -p /app/nodejs-poolcontroller && chown node:node /app/nodejs-poolcontr
# Set the working directory for the first application
WORKDIR /app/nodejs-poolcontroller

# # Copy the source code and necessary files for the first application
# COPY ./nodejs-poolcontroller/package*.json ./
# Copy the source code and necessary files for the first application
COPY ./nodejs-poolcontroller/defaultConfig.json ./config.json
COPY ./nodejs-poolcontroller ./
RUN "echo pwd"
RUN "echo $(pwd)"
RUN "echo ls"
RUN "echo $(ls -al)"

# Install dependencies and build the first application
RUN npm ci
Expand All @@ -28,8 +31,7 @@ RUN mkdir -p /app/nodejs-poolcontroller-dashpanel && chown node:node /app/nodejs
# Set the working directory for the second application
WORKDIR /app/nodejs-poolcontroller-dashpanel

# # Copy the source code and necessary files for the second application
# COPY ./nodejs-poolcontroller-dashpanel/package*.json ./
# Copy the source code and necessary files for the second application
COPY ./nodejs-poolcontroller-dashpanel ./

# Install dependencies and build the second application
Expand Down
8 changes: 4 additions & 4 deletions .docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ services:
ports:
- "4200:4200"
volumes:
- /data/poolcontroller/config.json:/app/config.json
- /data/poolcontroller/data:/app/data
- /data/poolcontroller/logs:/app/logs
- /data/poolcontroller/config.json:/app/nodejs-poolcontroller/config.json
- /data/poolcontroller/data:/app/nodejs-poolcontroller/data
- /data/poolcontroller/logs:/app/nodejs-poolcontroller/logs
poolcontroller-dashpanel:
restart: always
container_name: poolcontroller-dashpanel
ports:
- "5150:5150"
volumes:
- /data/poolcontroller-dashpanel/config.json:/app/config.json
- /data/poolcontroller-dashpanel/config.json:/app/nodejs-poolcontroller-dashpanel/config.json
image: rstrouse/nodejs-poolcontroller-dashpanel:latest
depends_on:
- poolcontroller
Expand Down

0 comments on commit 298b6da

Please sign in to comment.