mirror of
https://github.com/mempool/mempool.git
synced 2025-01-18 05:12:35 +01:00
Set Dockerfiles to use Node v16.10.0
This commit is contained in:
parent
1e40ec4fd0
commit
e00234dfb9
@ -1,4 +1,4 @@
|
|||||||
FROM node:12-buster-slim AS builder
|
FROM node:16.10.0-buster-slim AS builder
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY . .
|
COPY . .
|
||||||
@ -8,7 +8,7 @@ RUN apt-get install -y build-essential python3 pkg-config
|
|||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM node:12-buster-slim
|
FROM node:16.10.0-buster-slim
|
||||||
|
|
||||||
WORKDIR /backend
|
WORKDIR /backend
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM node:12-buster-slim AS builder
|
FROM node:16.10.0-buster-slim AS builder
|
||||||
|
|
||||||
ARG commitHash
|
ARG commitHash
|
||||||
ENV DOCKER_COMMIT_HASH=${commitHash}
|
ENV DOCKER_COMMIT_HASH=${commitHash}
|
||||||
|
Loading…
Reference in New Issue
Block a user