diff --git a/.dockerignore b/.dockerignore index 4204c803..0a82b23c 100644 --- a/.dockerignore +++ b/.dockerignore @@ -8,3 +8,9 @@ docs/ out-tsc/ test/ docker/ +.travis.yml +config.json +karma.conf.js +protractor.conf.js +Procfile +.*ignore diff --git a/docker/arm32v6/debian-stretch/Dockerfile b/docker/arm32v6/alpine/Dockerfile similarity index 95% rename from docker/arm32v6/debian-stretch/Dockerfile rename to docker/arm32v6/alpine/Dockerfile index 4cadc2c5..bee49905 100644 --- a/docker/arm32v6/debian-stretch/Dockerfile +++ b/docker/arm32v6/alpine/Dockerfile @@ -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"] diff --git a/docker/arm32v6/debian-stretch/hooks/pre_build b/docker/arm32v6/alpine/hooks/pre_build similarity index 100% rename from docker/arm32v6/debian-stretch/hooks/pre_build rename to docker/arm32v6/alpine/hooks/pre_build