docker #1

Merged
ckremitzl merged 4 commits from docker into master 2019-05-07 20:32:13 +00:00
2 changed files with 27 additions and 0 deletions
Showing only changes of commit 4f495affbc - Show all commits

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