Optimize Dockerfile
This commit is contained in:
parent
c7e3e56bd2
commit
28b854b427
|
@ -6,9 +6,6 @@ RUN /tmp/install-build.bash
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY Makefile ./
|
COPY Makefile ./
|
||||||
|
|
||||||
COPY system ./system/
|
|
||||||
RUN make system UNPRIVILEGED=1
|
|
||||||
|
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock ./
|
||||||
RUN yarn install
|
RUN yarn install
|
||||||
|
|
||||||
|
@ -16,6 +13,9 @@ COPY webpack.config.cjs ./
|
||||||
COPY frontend/src ./frontend/src/
|
COPY frontend/src ./frontend/src/
|
||||||
RUN make frontend
|
RUN make frontend
|
||||||
|
|
||||||
|
COPY system ./system/
|
||||||
|
RUN make system UNPRIVILEGED=1
|
||||||
|
|
||||||
COPY frontend/pages ./frontend/pages/
|
COPY frontend/pages ./frontend/pages/
|
||||||
COPY frontend/styles ./frontend/styles/
|
COPY frontend/styles ./frontend/styles/
|
||||||
COPY lib ./lib/
|
COPY lib ./lib/
|
||||||
|
|
Loading…
Reference in New Issue