mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-29 11:42:05 +00:00
fix typo
add set -e to entrypoint better copy of entrypoint.sh and use proper entrypoint
This commit is contained in:
@@ -26,10 +26,11 @@ COPY --from=build /app/build/vanity /app/default-vanity
|
||||
COPY --from=build /app/build/navmeshes /app/navmeshes
|
||||
COPY --from=build /app/build/migrations /app/migrations
|
||||
COPY --from=build /app/build/*.dcf /app/
|
||||
COPY ./entrypoint.sh /app/
|
||||
COPY --chmod=0500 ./entrypoint.sh /app/
|
||||
RUN ldconfig
|
||||
|
||||
# needed as the container runs with the root user
|
||||
# and therefore sudo doesn't exist
|
||||
ENV USE_SUDO_AUTH=0
|
||||
RUN chmod +x entrypoint.sh
|
||||
CMD [ "/app/entrypoint.sh" ]
|
||||
|
||||
ENTRYPOINT [ "/app/entrypoint.sh" ]
|
||||
|
||||
Reference in New Issue
Block a user