mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-07 06:07:45 +08:00
f6fd2e69b3
Bumps alpine from 3.15.4 to 3.16.1. --- updated-dependencies: - dependency-name: alpine dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
16 lines
439 B
Docker
16 lines
439 B
Docker
FROM alpine:3.16.1
|
|
RUN apk add --update --no-cache lighttpd bash
|
|
|
|
RUN adduser -S www-data -G www-data
|
|
RUN rm -rf /etc/lighttpd/lighttpd.conf
|
|
COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
|
|
RUN chmod +r -R /etc/lighttpd && \
|
|
chown www-data:www-data -R /var/www && \
|
|
chown www-data:www-data /etc/lighttpd/lighttpd.conf
|
|
|
|
COPY start.sh /
|
|
RUN chmod +x /start.sh
|
|
|
|
USER www-data
|
|
RUN mkdir -p /var/www/domaincheck/
|
|
ENTRYPOINT ["/start.sh"]
|