Skip to content

Instantly share code, notes, and snippets.

@thulioph thulioph/Dockerfile
Created Apr 12, 2017

What would you like to do?
Dockerfile example.
FROM node:boron
# Create app directory
RUN mkdir -p /usr/src/veggiemap
WORKDIR /usr/src/veggiemap
# Install app dependencies
# RUN npm install -g webpack karma http-server
RUN git clone .
RUN npm install
RUN npm uninstall webpack --save-dev
RUN npm install webpack@2.2.0 --save-dev
# Bundle app source
COPY . /usr/src/veggiemap
# Mapped the port by docker daemon
# Run the commands
CMD [ "npm", "start" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.