tinypin/Dockerfile
2021-01-23 14:05:02 -06:00

11 lines
240 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 npm install
ENTRYPOINT ["sh", "-c" , "node server.js -i /data/images -d /data/tinypin.db"]