mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 12:42:44 +01:00
change docker build
This commit is contained in:
parent
4901d50409
commit
04b8875a6b
@ -1,4 +1,4 @@
|
||||
FROM nikolaik/python-nodejs:latest
|
||||
FROM node:14
|
||||
WORKDIR /usr/src/fosscord-server/
|
||||
COPY . .
|
||||
WORKDIR /usr/src/fosscord-server/bundle
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user