Dockerfile: add arm64 support

This commit is contained in:
PIE 2020-02-09 16:39:29 +00:00 committed by Adhityaa Chandrasekar
parent 90f39499a1
commit c040f95e25

View File

@ -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/