Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM aarch64/node:4.6.0-slim

WORKDIR /app

# Only run npm install if these files change.
ADD ./package.json /app/package.json

# Install dependencies
RUN npm install --unsafe-perm=true

# Add the rest of the sources
ADD . /app

# Build the app
RUN npm run dist

# Default host is localhost. This is for same-origin policies.
ENV HOST "localhost"

# Number of milliseconds between polling requests. Default is 200.
ENV MS 200

#Default port to expose.
ENV PORT 8080
EXPOSE 8080

RUN npm install

CMD ["npm","start"]