call binary directly in dockerfile

This commit is contained in:
Danny van Kooten 2018-11-14 11:48:54 +01:00
parent e92b4b9a29
commit f5ddb54828

View File

@ -3,7 +3,7 @@ WORKDIR /app
COPY package*.json ./
COPY gulpfile.js ./
COPY assets/ ./assets/
RUN npm install && NODE_ENV=production npx gulp
RUN npm install && NODE_ENV=production ./node_modules/gulp/bin/gulp.js
FROM golang:latest AS binarybuilder
WORKDIR /go/src/github.com/usefathom/fathom