Skip to content

Commit

Permalink
Vuelta a lo anterior Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
UO277938 committed Apr 9, 2024
1 parent f054cd1 commit 2571c56
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion gatewayservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ COPY package*.json ./
RUN npm install --ignore-scripts

# Copy the app source code to the working directory
COPY gateway-service.js ./
COPY . .

# Define the command to run your app
CMD ["node", "gateway-service.js"]
3 changes: 1 addition & 2 deletions questionservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ RUN npm install axios --ignore-scripts
RUN npm install --ignore-scripts

# Copy the app source code to the working directory
COPY server.js ./
COPY questions.json ./
COPY . .

# Define the command to run your app
CMD ["node", "server.js"]
3 changes: 1 addition & 2 deletions userservice/authservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ COPY package*.json ./
RUN npm install --ignore-scripts

# Copy the app source code to the working directory
COPY auth-service.js ./
COPY auth-model.js ./
COPY . .

# Expose the port the app runs on
EXPOSE 8002
Expand Down
4 changes: 1 addition & 3 deletions userservice/userservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ COPY package*.json ./
RUN npm install --ignore-scripts

# Copy the app source code to the working directory
COPY user-service.js ./
COPY user-model.js ./

COPY . .
# Expose the port the app runs on
EXPOSE 8001

Expand Down

0 comments on commit 2571c56

Please sign in to comment.