front dockerfile
This commit is contained in:
parent
7e987ad470
commit
6b74dfd442
@ -1,11 +1,11 @@
|
|||||||
# protobuf build
|
# protobuf build
|
||||||
FROM node:14-buster-slim as messages
|
FROM node:14.18.2-buster-slim@sha256:20bedf0c09de887379e59a41c04284974f5fb529cf0e13aab613473ce298da3d as messages
|
||||||
WORKDIR /usr/src
|
WORKDIR /usr/src
|
||||||
COPY messages .
|
COPY messages .
|
||||||
RUN yarn install && yarn ts-proto
|
RUN yarn install && yarn ts-proto
|
||||||
|
|
||||||
# webpack build
|
# webpack build
|
||||||
FROM node:14-buster-slim as builder
|
FROM node:14.18.2-buster-slim@sha256:20bedf0c09de887379e59a41c04284974f5fb529cf0e13aab613473ce298da3d as builder
|
||||||
WORKDIR /usr/src
|
WORKDIR /usr/src
|
||||||
COPY front/yarn.lock front/package.json ./
|
COPY front/yarn.lock front/package.json ./
|
||||||
RUN yarn install --ignore-engines
|
RUN yarn install --ignore-engines
|
||||||
|
Loading…
Reference in New Issue
Block a user