save 500 mb by using alpine
This commit is contained in:
parent
4f495affbc
commit
5b1927a6ac
@ -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
|
||||
WORKDIR /latex
|
||||
RUN npm install
|
||||
|
||||
@ -2,7 +2,7 @@ version: "3"
|
||||
services:
|
||||
latesch:
|
||||
build: .
|
||||
image: docker.wiai.de/latex/build:0.1
|
||||
image: docker.wiai.de/latex/build:0.1-alpine
|
||||
ports:
|
||||
- "127.0.0.1:8000:8000"
|
||||
# networks:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user