Skip to content
Snippets Groups Projects
Commit 76f42870 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

feat: ARMv8 Dockerfile

parent 0551901f
No related branches found
No related tags found
No related merge requests found
FROM node:10 as build-back FROM node:16 as build-back
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN rm -rf /app/node_modules RUN rm -rf /app/node_modules
RUN npm install ENV NEON_BUILD_RELEASE=true
RUN NEON_BUILD_RELEASE=true npm install
RUN npm run tsc RUN npm run tsc
RUN cd node_modules/duniter/neon/ && NODE_ENV=production ./build.sh
FROM node:9 as build-front FROM node:9 as build-front
COPY --from=build-back /app /app COPY --from=build-back /app /app
...@@ -12,7 +12,7 @@ WORKDIR /app/ui ...@@ -12,7 +12,7 @@ WORKDIR /app/ui
RUN npm install RUN npm install
RUN npm run postinstall RUN npm run postinstall
FROM node:10 FROM node:16
COPY --from=build-front /app /app COPY --from=build-front /app /app
WORKDIR /app WORKDIR /app
CMD ["node", "index.js", "remuniter"] CMD ["node", "index.js", "remuniter"]
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
"target": "es2017", "target": "es2017",
"declaration": true, "declaration": true,
"moduleResolution": "node", "moduleResolution": "node",
"skipLibCheck": true,
"module": "commonjs", "module": "commonjs",
"strictNullChecks": true, "strictNullChecks": true,
"noImplicitThis": true, "noImplicitThis": true,
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment