tinypin/Dockerfile
2021-01-25 09:50:49 -06:00

11 lines
255 B
Docker

FROM node:alpine3.12
COPY . /tinypin
WORKDIR /tinypin
RUN apk add build-base python3 && npm install --verbose && apk del build-base python3
RUN mkdir /data && npm install
ENTRYPOINT ["sh", "-c" , "node server.js -i /data/images -d /data/tinypin.db"]