28 lines
808 B
Text
28 lines
808 B
Text
FROM servnest_alpine
|
|
RUN apk add \
|
|
php83 \
|
|
php83-fpm \
|
|
php83-curl \
|
|
php83-gettext \
|
|
php83-opcache \
|
|
php83-pdo \
|
|
php83-pdo_sqlite \
|
|
php83-session \
|
|
php83-sodium \
|
|
certbot \
|
|
bash \
|
|
sudo \
|
|
openssh-client-common \
|
|
sshpass \
|
|
openssh-client \
|
|
knot \
|
|
knot-utils \
|
|
sqlite \
|
|
gettext
|
|
#RUN cp /srv/servnest/core/config.template.ini /srv/servnest/core/config.ini
|
|
#RUN sqlite3 /srv/servnest/core/db/servnest.db < /srv/servnest/core/db/schema.sql
|
|
#RUN echo "UPDATE params SET value = '$(openssl rand -hex 16)' WHERE name = 'username_salt';" | sqlite3 /srv/servnest/core/db/servnest.db
|
|
#RUN msgfmt /srv/servnest/core/locales/fr/C/LC_MESSAGES/messages.po -o /srv/servnest/core/locales/fr/C/LC_MESSAGES/messages.mo
|
|
RUN rm /etc/php83/php-fpm.d/www.conf
|
|
USER servnest:knot
|
|
CMD ["php-fpm83", "--nodaemonize"]
|