diff options
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | docker-compose.yml | 27 |
2 files changed, 6 insertions, 23 deletions
diff --git a/Dockerfile b/Dockerfile index c0f3ab20..d4b423ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM nikolaik/python-nodejs:latest +FROM node:14 WORKDIR /usr/src/fosscord-server/ COPY . . WORKDIR /usr/src/fosscord-server/bundle diff --git a/docker-compose.yml b/docker-compose.yml index 9fe41e15..3c03220c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,24 +1,7 @@ version: "3" services: - db: - hostname: fosscord_db - image: mongo:latest - volumes: - - ./db:/data/db - restart: unless-stopped - api: - hostname: fosscord_api - image: fosscord/api - depends_on: - - db - ports: - - 3001:3001 - env_file: ./.docker/env - gateway: - hostname: fosscord_gateway - image: fosscord/gateway - depends_on: - - db - ports: - - 3002:3002 - env_file: ./.docker/env + server: + image: fosscord/server + build: . + ports: + - 3001:3001 |