Skip to content

Commit

Permalink
fixes #390 (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasptsch authored Sep 1, 2024
1 parent c448cdd commit d3f3ccf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/witty-bottles-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"dynamica-v2": patch
---

Fix issue with bash not existing in the pterodactyl container by switching to sh.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ENV DATABASE_URL "file:/home/container/dynamica/db.sqlite"
ARG VERSION
ENV VERSION=$VERSION

RUN adduser -H -D container -s /bin/bash
RUN adduser -H -D container -s /bin/sh
ENV USER=container HOME=/home/container
USER container

Expand All @@ -38,7 +38,7 @@ HEALTHCHECK --interval=5m --timeout=3s \

COPY entrypoint.sh /entrypoint.sh

CMD [ "/bin/bash", "/entrypoint.sh" ]
CMD [ "/bin/sh", "/entrypoint.sh" ]

# Default Image
FROM base
Expand Down

0 comments on commit d3f3ccf

Please sign in to comment.