lol docker
This commit is contained in:
@ -21,7 +21,7 @@ ARG RUNNER_IMAGE="debian:${DEBIAN_VERSION}"
|
||||
FROM ${BUILDER_IMAGE} as builder
|
||||
|
||||
# install build dependencies
|
||||
RUN apt-get update -y && apt-get install -y build-essential git \
|
||||
RUN apt-get update -y && apt-get install -y build-essential git npm \
|
||||
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
|
||||
|
||||
# prepare build dir
|
||||
@ -51,6 +51,8 @@ COPY lib lib
|
||||
|
||||
COPY assets assets
|
||||
|
||||
RUN npm ci --prefix=./assets/
|
||||
|
||||
# compile assets
|
||||
RUN mix assets.deploy
|
||||
|
||||
|
Reference in New Issue
Block a user