Skip to content
This repository has been archived by the owner on Dec 19, 2021. It is now read-only.

Commit

Permalink
Added armhf multiarch Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Heiner Peuser authored and Heiner Peuser committed Aug 10, 2018
1 parent f5b314c commit 975c2b0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Dockerfile.multiarch.armhf
@@ -0,0 +1,19 @@
FROM multiarch/alpine:armhf-v3.8
RUN apk add --update nodejs npm

WORKDIR /usr/src/app

# Add package.json
COPY package*.json .

# Restore node modules
RUN npm install

# Add everything else not excluded by .dockerignore
COPY . .

# Build it
RUN npm run build-prod

EXPOSE 3000
CMD [ "node", "dist/server.js" ]

0 comments on commit 975c2b0

Please sign in to comment.