1
0

[CICD] Switch to gitea-actions as CI/CD
All checks were successful
Build Docker and Deploy / Build Docker (push) Successful in 8s
Build Docker and Deploy / Deploy to Server (push) Successful in 14s

This commit is contained in:
2023-08-26 19:36:10 +02:00
parent 74359ef6f7
commit 315c32983c
4 changed files with 60 additions and 21 deletions

View File

@@ -3,18 +3,17 @@ WORKDIR /var/www/html
COPY ./www /var/www/html
RUN apt-get update && \
RUN apt-get update && \
apt-get install -y git curl procps zip msmtp bsd-mailx && \
apt-get install -y magick && \
apt-get install -y imagemagick && \
rm -rf /var/lib/apt/lists/*
RUN a2enmod rewrite
COPY .docker /_docker
RUN rm /var/www/html/Makefile && \
rm /var/www/html/Dockerfile && \
rm -rf /var/www/html/.git && \
rm -rf /var/www/html/.idea && \
rm -rf /var/www/html/.docker
RUN chmod +Xx /_docker/run.sh && \
chmod +Xx /_docker/init.sh
# MapVolumes for: /var/www/html/config.php
# MapVolumes for: /var/www/html/dynamic/egg