Update Dockerfile versions and dependencies
- Update the base image for nodebuilder from node:18 to node:20 - Update the base image for php in Dockerfile and Dockerfile.daemon from php:8.1 to php:8.3 - Remove unnecessary packages installation in Dockerfile, Dockerfile.daemon, and Dockerfile.webui - Set APACHE_DOCUMENT_ROOT, WEBCRON_ROOT, and TZ environment variables in all three Dockerfiles
This commit is contained in:
parent
77772dcaed
commit
34db79b3ab
@ -1,4 +1,4 @@
|
||||
FROM node:18 as nodebuilder
|
||||
FROM node:20 as nodebuilder
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update -y && apt-get install -y git
|
||||
|
||||
@ -8,7 +8,7 @@ RUN npm install
|
||||
RUN npm run build
|
||||
RUN rm -rf node_modules
|
||||
|
||||
FROM php:8.1-apache
|
||||
FROM php:8.3-apache
|
||||
ENV APACHE_DOCUMENT_ROOT=/var/www/webcron/public/
|
||||
ENV WEBCRON_ROOT=/var/www/webcron/
|
||||
ENV TZ=Europe/Brussels
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM php:8.1
|
||||
FROM php:8.3
|
||||
RUN apt-get update -y && apt-get install -y git
|
||||
ENV APACHE_DOCUMENT_ROOT=/var/www/webcron/public/
|
||||
ENV WEBCRON_ROOT=/var/www/webcron/
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM node:18 as nodebuilder
|
||||
FROM node:20 as nodebuilder
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update -y && apt-get install -y git
|
||||
|
||||
@ -8,7 +8,7 @@ RUN npm install
|
||||
RUN npm run build
|
||||
RUN rm -rf node_modules
|
||||
|
||||
FROM php:8.1-apache
|
||||
FROM php:8.3-apache
|
||||
ENV APACHE_DOCUMENT_ROOT=/var/www/webcron/public/
|
||||
ENV WEBCRON_ROOT=/var/www/webcron/
|
||||
ENV TZ=Europe/Brussels
|
||||
|
Loading…
Reference in New Issue
Block a user