Spaces:
Sleeping
Sleeping
Commit
·
05f143c
1
Parent(s):
72b2001
DEBIAN_FRONTEND=noninteractive
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
FROM debian:12.8-slim
|
2 |
-
RUN apt update -y
|
3 |
-
RUN apt upgrade -y
|
4 |
-
RUN apt install apache2 php -y
|
5 |
RUN cat /etc/apache2/ports.conf
|
6 |
RUN sed '/Listen/{s/\([0-9]\+\)/8080/; :a;n; ba}' /etc/apache2/ports.conf
|
|
|
7 |
RUN service apache2 start
|
8 |
|
9 |
CMD ["bash", "-c", "service apache2 start; stail -F error.log"]
|
|
|
1 |
FROM debian:12.8-slim
|
2 |
+
RUN DEBIAN_FRONTEND=noninteractive apt update -y
|
3 |
+
RUN DEBIAN_FRONTEND=noninteractive apt upgrade -y
|
4 |
+
RUN DEBIAN_FRONTEND=noninteractive apt install apache2 php -y
|
5 |
RUN cat /etc/apache2/ports.conf
|
6 |
RUN sed '/Listen/{s/\([0-9]\+\)/8080/; :a;n; ba}' /etc/apache2/ports.conf
|
7 |
+
RUN cat /etc/apache2/ports.conf
|
8 |
RUN service apache2 start
|
9 |
|
10 |
CMD ["bash", "-c", "service apache2 start; stail -F error.log"]
|