Skip to content

Commit

Permalink
Remove custom options from docker; add binary to path
Browse files Browse the repository at this point in the history
  • Loading branch information
v1k45 committed Jun 30, 2024
1 parent 231328a commit ec38382
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ RUN apk add --no-cache tini ca-certificates \

WORKDIR $APP_DIR
COPY --from=builder /out/pastepass .
ENV PATH=$APP_DIR:$PATH

RUN mkdir -p $DATA_DIR && chown $UID:$GID $DATA_DIR
WORKDIR $DATA_DIR

USER $USER
EXPOSE 8008

ENTRYPOINT ["/sbin/tini", "--"]
CMD ["./pastepass", "-db-path", "/data/pastepass.db"]
CMD ["pastepass"]

0 comments on commit ec38382

Please sign in to comment.