add docker (Debian buster)

This commit is contained in:
Clemens Klug 2019-04-29 16:30:06 +02:00
parent 3d6cbbbda2
commit 4f495affbc
2 changed files with 27 additions and 0 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM debian:buster
RUN apt update && apt install -y nodejs npm
ADD . /latex
WORKDIR /latex
RUN npm install
CMD ["npm", "start"]

19
docker-compose.yml Normal file
View File

@ -0,0 +1,19 @@
version: "3"
services:
latesch:
build: .
image: docker.wiai.de/latex/build:0.1
ports:
- "127.0.0.1:8000:8000"
# networks:
# - traefik_net
# labels:
# - "traefik.enable=true"
# - "traefik.port=8000"
# - "traefik.docker.network=traefik_net"
# - "traefik.http.frontend.rule=Host:latesch.elli-valley.de"
#
#networks:
# traefik_net:
# external:
# name: traefik_net