feat: Add a separate image to build warp (#23)

## Description

**What(what issue does this code solve/what feature does it add):**
Build times for netris:server are way too long. so the idea is to move
warp into it's own container then build from there.
Later on first release we might drop this for a better solution.
**How(how does it solve it):**
1. Added the very own netris:warp

## Required Checklist:

- [x] I have added any necessary documentation and comments in my code
(where appropriate)
- [x] I have added tests to make sure my code runs in all contexts

## Further comments
This commit is contained in:
Wanjohi
2024-04-16 04:48:31 +03:00
committed by GitHub
parent 993d8238a3
commit 039cc96f3d
4 changed files with 121 additions and 113 deletions

View File

@@ -40,8 +40,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 warp /usr/bin/netris/
# RUN chmod +x /usr/bin/netris/warp
COPY .scripts/entrypoint.sh .scripts/supervisord.conf /etc/
RUN chmod 755 /etc/supervisord.conf /etc/entrypoint.sh