mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
✨ feat(server): Copy warp from docker (#24)
## Description **What(what issue does this code solve/what feature does it add):** **How(how does it solve it):** ## Required Checklist: - [ ] I have added any necessary documentation and comments in my code (where appropriate) - [ ] I have added tests to make sure my code runs in all contexts ## Further comments
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#This contains all the necessary libs for the server to work.
|
#This contains all the necessary libs for the server to work.
|
||||||
#NOTE: KEEP THIS IMAGE AS LEAN AS POSSIBLE.
|
#NOTE: KEEP THIS IMAGE AS LEAN AS POSSIBLE.
|
||||||
|
FROM ghcr.io/wanjohiryan/netris/warp:nightly as warp
|
||||||
|
|
||||||
FROM ghcr.io/wanjohiryan/netris/base:nightly
|
FROM ghcr.io/wanjohiryan/netris/base:nightly
|
||||||
|
|
||||||
ENV TZ=UTC \
|
ENV TZ=UTC \
|
||||||
@@ -40,8 +42,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
|||||||
&& chown $USERNAME:$USERNAME /home/$USERNAME \
|
&& chown $USERNAME:$USERNAME /home/$USERNAME \
|
||||||
&& ln -snf "/usr/share/zoneinfo/$TZ" /etc/localtime && echo "$TZ" > /etc/timezone
|
&& ln -snf "/usr/share/zoneinfo/$TZ" /etc/localtime && echo "$TZ" > /etc/timezone
|
||||||
|
|
||||||
# COPY warp /usr/bin/netris/
|
COPY --from=warp /usr/bin/warp /usr/bin/
|
||||||
# RUN chmod +x /usr/bin/netris/warp
|
RUN chmod +x /usr/bin/warp
|
||||||
COPY .scripts/entrypoint.sh .scripts/supervisord.conf /etc/
|
COPY .scripts/entrypoint.sh .scripts/supervisord.conf /etc/
|
||||||
RUN chmod 755 /etc/supervisord.conf /etc/entrypoint.sh
|
RUN chmod 755 /etc/supervisord.conf /etc/entrypoint.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user