1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2025-06-04 00:14:14 +00:00

Added proof of concept Dockerfile and docker-compose.yaml

This commit is contained in:
Simon Schnell 2022-02-25 22:32:30 +01:00
parent 2a4abd8f75
commit a136fd0a5a
3 changed files with 21 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
*.iml
**/.idea/**
build

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM java:8
WORKDIR /root
COPY build/bin bin
COPY res/user user
COPY build/xowa_dev.jar xowa_dev.jar
ENTRYPOINT java -jar xowa_dev.jar --app_mode http_server --http_server_port 8080

9
docker-compose.yaml Normal file
View File

@ -0,0 +1,9 @@
version: "3"
services:
wiki:
build: .
volumes:
- /h/DOCKER/wiki:/root/wiki
ports:
- "4040:8080"