This commit is contained in:
Jeff Vandrew Jr 2019-02-19 23:25:29 -05:00
parent ac99d11fd9
commit 9d0fe2bd66
2 changed files with 1 additions and 17 deletions

View File

@ -26,7 +26,7 @@ jobs:
sudo docker run --rm --privileged multiarch/qemu-user-static:register --reset
LATEST_TAG="${CIRCLE_TAG:1}"
DOCKERHUB_DESTINATION="$DOCKERHUB_REPO:$LATEST_TAG-arm32v7"
DOCKERHUB_DOCKERFILE="Dockerfile.arm32v7"
DOCKERHUB_DOCKERFILE="Dockerfile"
sudo docker login --username=$DOCKERHUB_USER --password=$DOCKERHUB_PASS
sudo docker build --pull -t "$DOCKERHUB_DESTINATION" -f "$DOCKERHUB_DOCKERFILE" .
sudo docker push "$DOCKERHUB_DESTINATION"

View File

@ -1,16 +0,0 @@
FROM node:10-alpine-arm32v7
RUN apk add --no-cache tini
WORKDIR /RTL
COPY . /RTL
# Install dependencies
RUN npm install
EXPOSE 3000
ENTRYPOINT ["/sbin/tini", "-g", "--"]
CMD ["node", "rtl"]