Skip to content

Commit

Permalink
Create docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kallyas authored Aug 25, 2023
1 parent 73d9283 commit 3a50385
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: '3'
services:
client:
build:
context: .
dockerfile: client/Dockerfile
ports:
- "3000:80" # Map port 3000 on your host to port 80 in the container
depends_on:
- server # Ensure the server is started before the client

server:
build:
context: .
dockerfile: server/Dockerfile
ports:
- "8080:5000" # Map port 8080 on your host to port 3000 in the container

0 comments on commit 3a50385

Please sign in to comment.