APmanageur Wi-Fi V1.0 : conteneur Debian + Apache
This commit is contained in:
1 parent
0dce2f61fe
commit
697d1d253c
3 files changed
+20
-16
No files matched your search
+1
-3
@@ -3,7 +3,7 @@ FROM debian:13-slim
|
||||
ENV DEBIAN_FRONTEND=noninteractive \
|
||||
PYTHONUNBUFFERED=1
|
||||
|
||||
# Apache2 + NetworkManager embarqué (pour la carte Netgear) + outils Wi-Fi + Python
|
||||
# Apache2 + NetworkManager embarqué + outils Wi-Fi + Python
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
apache2 python3 \
|
||||
@@ -16,12 +16,10 @@ RUN apt-get update \
|
||||
# Vos fichiers
|
||||
WORKDIR /app
|
||||
COPY ap.py /app/ap.py
|
||||
COPY favicon.png /app/favicon.png
|
||||
# Nom de votre fichier HTML dans le dossier de build (par défaut index.html)
|
||||
ARG HTML_FILE=index.html
|
||||
COPY ${HTML_FILE} /app/index.html
|
||||
COPY ${HTML_FILE} /var/www/html/index.html
|
||||
COPY favicon.png /var/www/html/favicon.png
|
||||
COPY apache-ap.conf /etc/apache2/sites-available/000-default.conf
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh && rm -f /var/www/html/index.html.orig \
|
||||
|
||||
Reference in new issue
Block a user