mirror of
https://github.com/Mesteriis/hassio-addons-avm.git
synced 2026-01-10 23:41:02 +01:00
add new
This commit is contained in:
20
apache2-minimal/Dockerfile
Normal file
20
apache2-minimal/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:10.0.1
|
||||
# hadolint ignore=DL3006
|
||||
FROM ${BUILD_FROM}
|
||||
ENV LANG C.UTF-8
|
||||
|
||||
# Create directory for apache2 to store PID file
|
||||
RUN mkdir /run/apache2
|
||||
|
||||
RUN apk --no-cache add apache2 libxml2-dev apache2-utils apache2-mod-wsgi apache2-ssl
|
||||
|
||||
#Configure Logging
|
||||
RUN sed -i -r 's@Errorlog .*@Errorlog /dev/stderr@i' /etc/apache2/httpd.conf
|
||||
RUN echo "Transferlog /dev/stdout" >> /etc/apache2/httpd.conf
|
||||
|
||||
# Copy data for add-on
|
||||
COPY run.sh /
|
||||
COPY index.html /
|
||||
RUN chmod a+x /run.sh
|
||||
RUN chmod a+x /index.html
|
||||
CMD [ "/run.sh" ]
|
||||
Reference in New Issue
Block a user