Should now run frontend tests on gitlab
This commit is contained in:
parent
f7d876aec6
commit
cb2238c576
2 changed files with 35 additions and 14 deletions
|
|
@ -1,10 +1,10 @@
|
|||
FROM node:6
|
||||
FROM node:9
|
||||
|
||||
EXPOSE 8080
|
||||
WORKDIR /app/
|
||||
ADD package.json .
|
||||
RUN npm install --only=production
|
||||
RUN npm install --only=dev
|
||||
RUN yarn install --only=production
|
||||
RUN yarn install --only=dev
|
||||
VOLUME ["/app/node_modules"]
|
||||
COPY . .
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue