Compare commits

...
Author SHA1 Message Date
marc 949e2dcec3 better dockerfile 2022-09-15 17:11:06 +02:00
+1 -5
View File
@@ -1,18 +1,14 @@
FROM node:11.15.0
RUN mkdir -p /home/numeris
WORKDIR /home/numeris
ENV PATH /home/numeris/node_modules/.bin:$PATH
COPY package*.json /home/numeris/
# npm install
WORKDIR /home/numeris
RUN npm install
RUN npm install -g @angular/cli@7.3.9
COPY . /home/numeris
RUN npm rebuild node-sass
WORKDIR /home/numeris