1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

updating arm32v6 Dockerfile to alpine

This commit is contained in:
Patrik J. Braun 2019-12-14 11:48:21 +01:00
parent e28420e8c4
commit d07ee3a6f1
3 changed files with 8 additions and 2 deletions

View File

@ -8,3 +8,9 @@ docs/
out-tsc/
test/
docker/
.travis.yml
config.json
karma.conf.js
protractor.conf.js
Procfile
.*ignore

View File

@ -3,7 +3,7 @@ RUN apk add --no-cache wget && \
wget https://github.com/multiarch/qemu-user-static/releases/download/v4.1.1-1/x86_64_qemu-arm-static.tar.gz && \
tar -xvf x86_64_qemu-arm-static.tar.gz
FROM arm32v6/node:12-stretch AS builder
FROM arm32v6/node:12-alpine AS builder
COPY --from=qemu-builder /qemu-arm-static /usr/bin
# LABEL maintainer="Patrik J. Braun"
# copying only package{-lock}.json to make node_modules cachable
@ -26,7 +26,7 @@ RUN mkdir -p /build/release/data/config && \
--Server-Thumbnail-folder='data/tmp' || true
FROM arm32v6/node:12-stretch-slim
FROM arm32v6/node:12-alpine
COPY --from=qemu-builder /qemu-arm-static /usr/bin
WORKDIR /app
ENTRYPOINT ["npm", "start"]