commit 19d590935ec06f48f6d1085caa5e5c71a4c636c5 Author: dreamer Date: Sat Jul 18 03:48:20 2020 +0200 docker diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..176f8ca --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM mileschou/lapis:latest as previouslyon + +WORKDIR /srv/lapis + +CMD lapis server \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..22072c9 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,14 @@ +version: "3" +services: + previouslyon: + build: . + # image: mileschou/lapis + # environment: + restart: always + # context: /srv/lapis + volumes: + - ./code:/srv/lapis + ports: + - "8080:8080" + # command: ['lapis', 'new', '--lua', '&&', 'lapis', 'server'] + # command: ['pwd']