fix webapp directory in dockerfile

This commit is contained in:
igoradamenko
2018-02-12 22:10:38 +02:00
parent 80352a86f0
commit 4011f5da19
+2 -2
View File
@@ -17,10 +17,10 @@ RUN go build -o remark -ldflags "-X main.revision=$(git rev-parse --abbrev-ref H
FROM node:9.4-alpine as build-frontend
ADD webapp /srv/webapp
ADD web /srv/web
RUN apk add --no-cache --update git python make g++
RUN \
cd /srv/webapp && \
cd /srv/web && \
NODE_ENV=production npm i && npm run build