-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·29 lines (23 loc) · 854 Bytes
/
Copy pathDockerfile
File metadata and controls
executable file
·29 lines (23 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM php:fpm-alpine
#FROM php:8.4-fpm-alpine
COPY ./*.php /app/
COPY ./favicon.* /app/
COPY ./.htaccess /app/
COPY ./css /app/css
COPY ./fonts /app/fonts
COPY ./img /app/img
COPY ./js /app/js
COPY ./languages /app/languages
COPY ./smartyfolders /app/smartyfolders
COPY ./support /app/support
# COPY docker specific dba.php
COPY ./support/dba-docker.php /app/support/dba.php
COPY ./templates /app/templates
COPY ./vendor /app/vendor
COPY ./welcome_lang /app/welcome_lang
RUN chown www-data:www-data -R /app/
VOLUME /app
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
RUN chmod +x /usr/local/bin/install-php-extensions
RUN /usr/local/bin/install-php-extensions mysqli gettext gd intl pdo_mysql
COPY ./support/sqstorage_php.ini /usr/local/etc/php/conf.d/sqstorage_php.ini