Skip to content

Commit

Permalink
rustest: removed chowning to app_user in dockerfile to increase build…
Browse files Browse the repository at this point in the history
… speed
  • Loading branch information
lololozhkin committed Oct 30, 2023
1 parent 14b4edc commit 0863692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/rustest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ COPY --from=builder /rustest/target/release/rustest ${APP}/rustest

COPY --from=front_builder /front/ ${APP}/front

RUN chown -R $APP_USER:$APP_USER ${APP}
# RUN chown -R $APP_USER:$APP_USER ${APP}
# USER $APP_USER

USER $APP_USER
WORKDIR ${APP}

CMD ["./rustest"]

0 comments on commit 0863692

Please sign in to comment.