Created
May 2, 2016 13:39
-
-
Save lukin0110/5b1230ef8e2f85c6866b4e050c24704e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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