Optimize Dockerfile

This commit is contained in:
Radon Rosborough 2021-08-14 22:01:05 -07:00
parent c7e3e56bd2
commit 28b854b427
1 changed files with 3 additions and 3 deletions

View File

@ -6,9 +6,6 @@ RUN /tmp/install-build.bash
WORKDIR /src
COPY Makefile ./
COPY system ./system/
RUN make system UNPRIVILEGED=1
COPY package.json yarn.lock ./
RUN yarn install
@ -16,6 +13,9 @@ COPY webpack.config.cjs ./
COPY frontend/src ./frontend/src/
RUN make frontend
COPY system ./system/
RUN make system UNPRIVILEGED=1
COPY frontend/pages ./frontend/pages/
COPY frontend/styles ./frontend/styles/
COPY lib ./lib/