Skip to content

Commit

Permalink
rfac: docker-compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
yp969803 committed May 15, 2024
1 parent d4bc1ef commit f0e3f94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ services:
context: ./frontend
dockerfile: Dockerfile.frontend
container_name: tracer-frontend
network_mode: host
networks:
- network
env_file:
- env.list
ports:
- "3000:3000"
restart: unless-stopped
volumes:
- .:/app


postgres:
image: postgres:latest
Expand Down
3 changes: 1 addition & 2 deletions frontend/Dockerfile.frontend
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@


FROM node:13.12.0-alpine as build

WORKDIR /app
COPY . .
RUN npm install
Expand Down

0 comments on commit f0e3f94

Please sign in to comment.