Skip to content

Commit

Permalink
Fix dockerFile access logs
Browse files Browse the repository at this point in the history
  • Loading branch information
syji35 committed May 23, 2024
1 parent 671c26f commit ccefed5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ WORKDIR /home/nonroot/lufi
RUN wget https://framagit.org/fiat-tux/hat-softwares/lufi/-/archive/${LUFI_VERSION}/lufi-${LUFI_VERSION}.zip \
&& unzip lufi-${LUFI_VERSION}.zip -d /tmp \
&& mv /tmp/lufi-${LUFI_VERSION}/* /home/nonroot/lufi \
&& rm -rf /tmp/*
&& rm -rf /tmp/* \
&& rm -rf /home/nonroot/lufi/lufi-${LUFI_VERSION}.zip


COPY --chown=nonroot:nonroot lufi.conf lufi/
Expand All @@ -47,7 +48,7 @@ COPY --chmod=760 --chown=nonroot:nonroot docker-entrypoint.sh /home/nonroot/lufi

RUN carton install --deployment --without=test --without=mysql \
&& rm -rf local/cache/* local/man/*
RUN chown -R nonroot:nonroot lufi/
RUN chown -R nonroot:nonroot .

EXPOSE 8081
USER nonroot
Expand Down

0 comments on commit ccefed5

Please sign in to comment.