diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index c2dd9a53..00000000 --- a/.dockerignore +++ /dev/null @@ -1,3 +0,0 @@ -node_modules -dist -.vscode \ No newline at end of file diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 9c464743..00000000 --- a/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -FROM node:11.15.0 - -# install chrome for protractor tests -RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - -RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' -RUN apt-get update && apt-get install -yq google-chrome-stable && rm -rf /var/lib/apt/lists/* - -# set working directory -RUN mkdir /usr/local/app -WORKDIR /usr/local/app - -# Install Angular CLI -RUN npm install -g --unsafe-perm @angular/cli@6.1.4 - -# Build node_modules folder as this speeds up the build time -# (npm install is only executed if package.json changes) -COPY ./package-lock.json /usr/local/app/package-lock.json -COPY package.json /usr/local/app/package.json -RUN npm install - -# This is only for the build and not needed if running locally -COPY . /usr/local/app \ No newline at end of file