chore(Dockerfile): pre-build dependencies in fradrive-env
This commit is contained in:
parent
973175d5b9
commit
4ead63006a
@ -43,5 +43,8 @@ RUN useradd -ms /bin/bash fradrive-env
|
||||
USER fradrive-env
|
||||
|
||||
ADD . /fradrive-src
|
||||
WORKDIR /fradrive-src
|
||||
|
||||
ARG FONTAWESOME_NPM_AUTH_TOKEN
|
||||
# pre-build frontend- and backend-dependencies
|
||||
RUN make node_modules
|
||||
RUN make backend-dependencies
|
||||
@ -4,6 +4,7 @@ USER root
|
||||
|
||||
# Install uniworx binary
|
||||
WORKDIR /fradrive-src
|
||||
# RUN make clean # TODO: to discuss whether to invalidate all caches beforehand
|
||||
RUN make bin/uniworx
|
||||
|
||||
# Runtime dependencies
|
||||
|
||||
Reference in New Issue
Block a user