Update Docker configuration for multi-platform support

This commit is contained in:
Ceferino Patino 2024-02-18 21:25:29 -06:00
commit 720e4f37b0
2 changed files with 8 additions and 2 deletions

View file

@ -1 +1,2 @@
node_modules
.env

View file

@ -24,9 +24,14 @@ services:
server:
restart: unless-stopped
image: c4thebomb/know-it-all-server
build: ./server
build:
context: ./client
dockerfile: Dockerfile
platforms:
- linux/amd64
- linux/arm64/v8
ports:
- 127.0.0.1:3000:3001
- 127.0.0.1:3001:3000
networks:
- know-it-all
- common-network