Skip to content
Snippets Groups Projects
Commit 68ebe7e6 authored by Lukasz Lopatowski's avatar Lukasz Lopatowski
Browse files

Fixing Docker build

parent 8d78daf6
Branches
Tags
No related merge requests found
...@@ -25,7 +25,7 @@ npm-debug.log ...@@ -25,7 +25,7 @@ npm-debug.log
testem.log testem.log
/typings /typings
gradle-app.setting gradle-app.setting
package-lock.json /.gradle/
# e2e # e2e
/e2e/*.js /e2e/*.js
......
FROM alpine:3.13 as builder FROM alpine:3.13 as builder
COPY . /build/nmaas-portal COPY . /build
WORKDIR /build/nmaas-portal WORKDIR /build
RUN apk add nodejs nodejs-npm RUN apk add nodejs nodejs-npm
RUN npm install -g @angular/cli RUN npm install -g @angular/cli
...@@ -16,7 +16,7 @@ ARG webdir=/usr/share/nginx/html ...@@ -16,7 +16,7 @@ ARG webdir=/usr/share/nginx/html
RUN mkdir -p ${webdir}/config RUN mkdir -p ${webdir}/config
RUN apk add gettext RUN apk add gettext
COPY --from=builder /build/nmaas-portal/build/app/ ${webdir} COPY --from=builder /build/build/app/ ${webdir}
COPY docker/nginx.conf /etc/nginx/nginx.conf COPY docker/nginx.conf /etc/nginx/nginx.conf
COPY docker/config.template.json ${webdir}/config/config.template.json COPY docker/config.template.json ${webdir}/config/config.template.json
COPY docker/run_portal.sh /scripts/run_portal.sh COPY docker/run_portal.sh /scripts/run_portal.sh
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment