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
COPY . .
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 cd node_modules/duniter/neon/ && NODE_ENV=production ./build.sh
FROM node:9 as build-front
COPY --from=build-back /app /app
......@@ -12,7 +12,7 @@ WORKDIR /app/ui
RUN npm install
RUN npm run postinstall
FROM node:10
FROM node:16
COPY --from=build-front /app /app
WORKDIR /app
CMD ["node", "index.js", "remuniter"]
......
This diff is collapsed.
......@@ -4,6 +4,7 @@
"target": "es2017",
"declaration": true,
"moduleResolution": "node",
"skipLibCheck": true,
"module": "commonjs",
"strictNullChecks": true,
"noImplicitThis": true,
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment