Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Cl0v1s authored Apr 1, 2024
1 parent e08e2c4 commit a57c57f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ RUN apk update &&\
mkdir -p ${DATA}/uploads &&\
mkdir -p ${DATA}/static &&\
chown -R akkoma ${DATA} &&\
mkdir -p /etc/akkoma &&\
chown -R akkoma /etc/akkoma
mkdir -p /etc/akkoma

COPY ./config/docker.exs /etc/akkoma/config.exs
RUN chown -R akkoma /etc/akkoma &&\
chmod o-rwx /etc/akkoma/config.exs

USER akkoma

COPY --from=build --chown=akkoma:0 /release ${HOME}

COPY ./config/docker.exs /etc/akkoma/config.exs
RUN chown -R akkoma /etc/akkoma
RUN chmod o-rwx /etc/akkoma/config.exs
COPY ./docker-entrypoint.sh ${HOME}

COPY ./config/frontends.exs $DATA/config.exs
Expand Down

0 comments on commit a57c57f

Please sign in to comment.