Skip to content

Commit f0e3f94

Browse files
committed
rfac: docker-compose file
1 parent d4bc1ef commit f0e3f94

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

docker-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ services:
5151
context: ./frontend
5252
dockerfile: Dockerfile.frontend
5353
container_name: tracer-frontend
54-
network_mode: host
54+
networks:
55+
- network
5556
env_file:
5657
- env.list
5758
ports:
5859
- "3000:3000"
5960
restart: unless-stopped
60-
volumes:
61-
- .:/app
61+
6262

6363
postgres:
6464
image: postgres:latest

frontend/Dockerfile.frontend

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
2-
31
FROM node:13.12.0-alpine as build
2+
43
WORKDIR /app
54
COPY . .
65
RUN npm install

0 commit comments

Comments
 (0)