Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
leordev committed Jun 2, 2024
1 parent 023aff8 commit 5b843da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions metrics-collector/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,4 @@ COPY . .
RUN pnpm run build

# Expose the port the app runs on
EXPOSE 3001

# Command to run the service app
CMD ["node", "build/service-app.js"]
EXPOSE 3001
1 change: 1 addition & 0 deletions metrics-collector/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ services:
metrics-service:
build: .
container_name: metrics-service
command: ["node", "build/service-app.js"]
environment:
DB_HOST: postgres
DB_PORT: 5432
Expand Down

0 comments on commit 5b843da

Please sign in to comment.