We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 515492b + 4940545 commit edfdc74Copy full SHA for edfdc74
Dockerfile.aarch64
@@ -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