mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-20 16:45:09 +00:00
Update Dockerfile
Fabric is on alpine 3.14 so update the sample to match Signed-off-by: James Taylor <jamest@uk.ibm.com>
This commit is contained in:
parent
b1bc6663b8
commit
2d7da062d8
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:14-alpine3.12 AS build
|
FROM node:14-alpine3.14 AS build
|
||||||
|
|
||||||
RUN apk add --no-cache g++ make python3 dumb-init
|
RUN apk add --no-cache g++ make python3 dumb-init
|
||||||
|
|
||||||
|
|
@ -10,7 +10,7 @@ RUN npm ci
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
RUN npm prune --production
|
RUN npm prune --production
|
||||||
|
|
||||||
FROM node:14-alpine3.12
|
FROM node:14-alpine3.14
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue