front dockerfile

This commit is contained in:
_Bastler 2022-01-27 13:27:09 +01:00
parent 7e987ad470
commit 6b74dfd442

View File

@ -1,11 +1,11 @@
# protobuf build
FROM node:14-buster-slim as messages
FROM node:14.18.2-buster-slim@sha256:20bedf0c09de887379e59a41c04284974f5fb529cf0e13aab613473ce298da3d as messages
WORKDIR /usr/src
COPY messages .
RUN yarn install && yarn ts-proto
# webpack build
FROM node:14-buster-slim as builder
FROM node:14.18.2-buster-slim@sha256:20bedf0c09de887379e59a41c04284974f5fb529cf0e13aab613473ce298da3d as builder
WORKDIR /usr/src
COPY front/yarn.lock front/package.json ./
RUN yarn install --ignore-engines