1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-03-13 12:13:23 +00:00
bramw_baserow/deploy/apache/recommended/Dockerfile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
602 B
Text
Raw Permalink Normal View History

2024-05-06 12:00:20 +00:00
FROM debian:bookworm-slim
2022-07-05 13:45:31 +00:00
#Don't ask questions during install
ENV DEBIAN_FRONTEND noninteractive
#Install apache2 and enable proxy mode
RUN apt-get update \
&& apt-get -y install apache2 \
&& a2enmod proxy headers proxy_http proxy_wstunnel rewrite \
&& apt-get autoclean \
&& apt-get clean \
&& apt-get autoremove \
&& rm -rf /var/lib/apt/lists/*
COPY sub-domain.conf /etc/apache2/sites-available/sub-domain.conf
RUN a2dissite 000-default.conf && a2ensite sub-domain.conf \
&& apachectl configtest && apache2ctl -t && apache2ctl -S
2024-05-06 12:00:20 +00:00
CMD ["apachectl", "-D", "FOREGROUND"]