docker #1

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

View File

@ -1,6 +1,9 @@
FROM debian:buster #FROM debian:buster
#RUN apt update && apt install -y nodejs npm
FROM alpine:3.9
RUN apk add --update --no-cache npm
RUN apt update && apt install -y nodejs npm
ADD . /latex ADD . /latex
WORKDIR /latex WORKDIR /latex
RUN npm install RUN npm install

View File

@ -2,7 +2,7 @@ version: "3"
services: services:
latesch: latesch:
build: . build: .
image: docker.wiai.de/latex/build:0.1 image: docker.wiai.de/latex/build:0.1-alpine
ports: ports:
- "127.0.0.1:8000:8000" - "127.0.0.1:8000:8000"
# networks: # networks: