Skip to content

Instantly share code, notes, and snippets.

@adastreamer
Created December 28, 2016 15:37
Show Gist options
  • Save adastreamer/e8d651b63cd72e2af76463ea5d7ae2c1 to your computer and use it in GitHub Desktop.
Save adastreamer/e8d651b63cd72e2af76463ea5d7ae2c1 to your computer and use it in GitHub Desktop.
ewa
FROM node:latest
ADD . /app/content
RUN apt-get update && apt-get install -y imagemagick graphicsmagick
RUN cd /app/content && \
node bin/install.js
EXPOSE 8080
WORKDIR /app
ENV NODE_ENV=production
CMD ["node", "./source/index.js", "up", "8080"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment