Skip to content

Commit

Permalink
fix(docker): move sablier binary from /etc/sablier/sablier to /bin/sa…
Browse files Browse the repository at this point in the history
…blier

As the Dockerfile is using an Alpine image for the final layer, it should try to respect Alpine and Linux FHS as much as possible.

Note that the config file will remain in /etc/sablier/ folder

Fixes #348
  • Loading branch information
acouvreur committed Jul 8, 2024
1 parent 69c56fd commit e7119ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ FROM alpine:3.20.1
RUN mkdir -p /etc/sablier/themes
EXPOSE 10000

COPY --from=build /src/sablier* /etc/sablier/sablier
COPY --from=build /src/sablier* /bin/sablier
COPY docker/sablier.yaml /etc/sablier/sablier.yaml

ENTRYPOINT [ "/etc/sablier/sablier" ]
ENTRYPOINT [ "sablier" ]
CMD [ "--configFile=/etc/sablier/sablier.yaml", "start" ]

0 comments on commit e7119ee

Please sign in to comment.