Updated ARM dockerfile to fix auto build

This commit is contained in:
Isaac Abadi
2020-08-15 18:31:57 -04:00
parent 178a61c381
commit 9937bc9bb6

View File

@@ -1,10 +1,13 @@
FROM alpine:3.12 as frontend
FROM arm32v7/alpine:3.12 as frontend
RUN apk add --no-cache \
npm
npm \
curl
RUN npm install -g @angular/cli
RUN curl -L https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-arm.tar.gz | tar zxvf - -C . && mv qemu-3.0.0+resin-arm/qemu-arm-static .
WORKDIR /build
COPY [ "package.json", "package-lock.json", "/build/" ]
RUN npm install
@@ -17,7 +20,7 @@ RUN ng build --prod
FROM arm32v7/alpine:3.12
COPY qemu-arm-static /usr/bin
COPY --from=frontend /qemu-arm-static /usr/bin
ENV UID=1000 \
GID=1000 \