mirror of
https://github.com/v1k45/pastepass.git
synced 2025-12-23 14:25:52 +00:00
Remove custom options from docker; add binary to path
This commit is contained in:
@@ -25,11 +25,13 @@ RUN apk add --no-cache tini ca-certificates \
|
|||||||
|
|
||||||
WORKDIR $APP_DIR
|
WORKDIR $APP_DIR
|
||||||
COPY --from=builder /out/pastepass .
|
COPY --from=builder /out/pastepass .
|
||||||
|
ENV PATH=$APP_DIR:$PATH
|
||||||
|
|
||||||
RUN mkdir -p $DATA_DIR && chown $UID:$GID $DATA_DIR
|
RUN mkdir -p $DATA_DIR && chown $UID:$GID $DATA_DIR
|
||||||
|
WORKDIR $DATA_DIR
|
||||||
|
|
||||||
USER $USER
|
USER $USER
|
||||||
EXPOSE 8008
|
EXPOSE 8008
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--"]
|
ENTRYPOINT ["/sbin/tini", "--"]
|
||||||
CMD ["./pastepass", "-db-path", "/data/pastepass.db"]
|
CMD ["pastepass"]
|
||||||
|
|||||||
Reference in New Issue
Block a user