mirror of https://github.com/thumbsup/thumbsup
Basic production Dockerfile (doesn’t run the tests yet)
parent
29654444cd
commit
19a28a08c0
@ -0,0 +1 @@
|
|||||||
|
node_modules
|
@ -0,0 +1,13 @@
|
|||||||
|
# Node.js runtime
|
||||||
|
FROM node:8-alpine
|
||||||
|
|
||||||
|
# Cache all the binary dependencies first
|
||||||
|
RUN apk add --update ffmpeg graphicsmagick exiftool
|
||||||
|
|
||||||
|
# Install thumbsup globally
|
||||||
|
ARG THUMBSUP_VERSION=2.x.x
|
||||||
|
RUN npm install -g thumbsup@${THUMBSUP_VERSION}
|
||||||
|
|
||||||
|
# Default command is thumbsup itself, so we can run
|
||||||
|
# > docker run thumbsupgallery/thumbsup --input [...] --output [...]
|
||||||
|
CMD ["thumbsup"]
|
Loading…
Reference in New Issue