diff --git a/Dockerfile b/Dockerfile index 607e222..eb9e648 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # backend build (api server) FROM golang:1.12-alpine AS api-build -RUN apk add --no-cache --update bash make git curl +RUN apk add --no-cache --update bash dep make git curl g++ COPY ./api /go/src/commento/api/ WORKDIR /go/src/commento/api @@ -10,7 +10,7 @@ RUN make prod -j$(($(nproc) + 1)) # frontend build (html, js, css, images) FROM node:10-alpine AS frontend-build -RUN apk add --no-cache --update bash make +RUN apk add --no-cache --update bash make python2 g++ COPY ./frontend /commento/frontend WORKDIR /commento/frontend/