mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
✨ feat(server): Add startup script (#63)
## Description **What issue are you solving (or what feature are you adding) and how are you doing it?** We start the container using supervisord, which is limiting as the user has no way of telling the container what game to run. So, the idea is to run like so: `docker run... ghcr.io/netrisdotme/netris/server:<tag> netris-proton /game/yourgame.exe` Co-authored by @djpremier
This commit is contained in:
@@ -70,8 +70,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
COPY --from=ghcr.io/wanjohiryan/netris/warp:nightly /usr/bin/warp /usr/bin/
|
||||
COPY --from=ghcr.io/games-on-whales/inputtino:stable /inputtino/input-server /inputtino/input-server
|
||||
RUN chmod +x /usr/bin/warp
|
||||
COPY .scripts/entrypoint.sh .scripts/supervisord.conf /etc/
|
||||
RUN chmod 755 /etc/supervisord.conf /etc/entrypoint.sh
|
||||
COPY .scripts /etc/
|
||||
RUN chmod 755 /etc/supervisord.conf /etc/entrypoint.sh /etc/startup.sh
|
||||
|
||||
USER 1000
|
||||
ENV SHELL=/bin/bash \
|
||||
|
||||
Reference in New Issue
Block a user