Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lebe-dev committed Oct 3, 2023
1 parent 7401ad7 commit d9af055
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ RUN mkdir -p /build/static && \
cp upx-4.0.2-amd64_linux/upx /usr/bin/upx && chmod +x /usr/bin/upx

COPY . /build
COPY --from=webui-build /build/build/ /build/static/
COPY favicon.png /build/static/
COPY --from=webui-build /build/build/ /build/backend/static/

COPY favicon.png /build/backend/static/

RUN cd backend && \
cargo test && \
Expand All @@ -46,6 +47,4 @@ RUN chown -R pw: /app && chmod +x /app/pw

USER pw

CMD ["/app/pw"]


CMD ["/app/pw"]

0 comments on commit d9af055

Please sign in to comment.