Skip to content

Commit

Permalink
✨ feat(server): Copy warp from docker (#24)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
wanjohiryan authored Apr 16, 2024
1 parent 85db990 commit 4c6bc98
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions server.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#This contains all the necessary libs for the server to work.
#NOTE: KEEP THIS IMAGE AS LEAN AS POSSIBLE.
FROM ghcr.io/wanjohiryan/netris/warp:nightly as warp

FROM ghcr.io/wanjohiryan/netris/base:nightly

ENV TZ=UTC \
Expand Down Expand Up @@ -40,8 +42,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
&& chown $USERNAME:$USERNAME /home/$USERNAME \
&& ln -snf "/usr/share/zoneinfo/$TZ" /etc/localtime && echo "$TZ" > /etc/timezone

# COPY warp /usr/bin/netris/
# RUN chmod +x /usr/bin/netris/warp
COPY --from=warp /usr/bin/warp /usr/bin/
RUN chmod +x /usr/bin/warp
COPY .scripts/entrypoint.sh .scripts/supervisord.conf /etc/
RUN chmod 755 /etc/supervisord.conf /etc/entrypoint.sh

Expand Down

0 comments on commit 4c6bc98

Please sign in to comment.