Optimize CI

This commit is contained in:
MassiveBox 2023-06-24 09:00:20 +02:00
parent b720bf4ac0
commit 82114b8c76
Signed by: massivebox
GPG key ID: 9B74D3A59181947D
4 changed files with 99 additions and 45 deletions

View file

@ -0,0 +1,11 @@
FROM debian:latest
WORKDIR /app
COPY ./setup.sh ./setup.sh
RUN apt-get update; apt-get upgrade -y; apt-get install zip curl -y && \
curl https://cloud.massivebox.net/api/public/dl/fLgOAQNc -o templates.zip && unzip templates.zip && rm templates.zip && \
chmod +x setup.sh && ./setup.sh && rm setup.sh && \
chmod +x app
CMD ["./app"]