Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM rikorose/gcc-cmake:latest AS builder

WORKDIR /app

COPY . /app

RUN cd server; \
cmake .; \
make

CMD ./server/peepa-server
13 changes: 13 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
services:
bf-multiplayer:
container_name: bf-multiplayer
build:
context: "."
dockerfile: Dockerfile
volumes:
- ./data/GameData.bin:/app/GameData.bin
- ./data/GameDataDefault.bin:/app/GameDataDefault.bin
- ./data/SaveData.json:/app/SaveData.json
- ./data/Config.json:/app/Config.json
ports:
- 7089:7089