initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
FROM php:8.2-cli
|
||||
|
||||
ENV TZ=Europe/Warsaw
|
||||
|
||||
COPY --chown=www-data ./project /var/www/html
|
||||
|
||||
#cron
|
||||
RUN apt-get update && apt-get -y install cron
|
||||
COPY ./service/crontab /etc/cron.d/maincron
|
||||
RUN chmod 0644 /etc/cron.d/maincron
|
||||
RUN crontab /etc/cron.d/maincron
|
||||
RUN touch /var/log/cron.log
|
||||
|
||||
Reference in New Issue
Block a user