Skip to content

Instantly share code, notes, and snippets.

@lukin0110
Created May 2, 2016 13:39
Show Gist options
  • Save lukin0110/5b1230ef8e2f85c6866b4e050c24704e to your computer and use it in GitHub Desktop.
Save lukin0110/5b1230ef8e2f85c6866b4e050c24704e to your computer and use it in GitHub Desktop.
# TriFlux Alpine Development Container
#
# Alpine Node Party: https://github.com/mhart/alpine-node
#
# VERSION 0.0.1
FROM mhart/alpine-node:5
ENV PORT 5001
ENV NODE_ENV development
# Create app directory
RUN mkdir -p /triflux
WORKDIR /triflux
# Install bash & git
RUN apk add --update bash git python make g++ && rm -rf /var/cache/apk/*
# Install app dependencies
COPY package.json /triflux
RUN npm install && npm dedupe
# Add the source Luke!
ADD . /triflux/
CMD ["npm", "start"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment