Skip to content

Commit edfdc74

Browse files
author
Mano Marks
authored
Merge pull request dockersamples#28 from adomenech73/aarch64-support
aarch64 Support
2 parents 515492b + 4940545 commit edfdc74

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

Dockerfile.aarch64

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
FROM aarch64/node:4.6.0-slim
2+
3+
WORKDIR /app
4+
5+
# Only run npm install if these files change.
6+
ADD ./package.json /app/package.json
7+
8+
# Install dependencies
9+
RUN npm install --unsafe-perm=true
10+
11+
# Add the rest of the sources
12+
ADD . /app
13+
14+
# Build the app
15+
RUN npm run dist
16+
17+
# Default host is localhost. This is for same-origin policies.
18+
ENV HOST "localhost"
19+
20+
# Number of milliseconds between polling requests. Default is 200.
21+
ENV MS 200
22+
23+
#Default port to expose.
24+
ENV PORT 8080
25+
EXPOSE 8080
26+
27+
RUN npm install
28+
29+
CMD ["npm","start"]

0 commit comments

Comments
 (0)