Created
January 24, 2019 00:35
-
-
Save IsTheJack/4bd0dfea441ca0eb57ee84ec32fbfa71 to your computer and use it in GitHub Desktop.
Revisions
-
IsTheJack created this gist
Jan 24, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ # This Dockerfile is for the development environment FROM node:latest # Some dependencies for Cypress RUN apt-get update RUN apt-get install xvfb libgtk2.0-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 -y # Define folder in container RUN mkdir -p /app COPY . /app WORKDIR /app COPY package.json /app COPY package-lock.json /app RUN npm install COPY . /app ENV HOST 0.0.0.0 EXPOSE 3000 CMD ["npm", "run", "dev"]