ladogton2010 commited on
Commit
d4d0812
·
1 Parent(s): 0e733bd

Instalación de apache

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -0
  2. README.md +1 -1
Dockerfile CHANGED
@@ -1,5 +1,7 @@
1
  FROM debian:12.8-slim
2
  RUN apt install apache2 php
 
 
3
  RUN service apache2 start
4
 
5
  CMD ["bash", "-c", "service apache2 start; stail -F error.log"]
 
1
  FROM debian:12.8-slim
2
  RUN apt install apache2 php
3
+ RUN less /etc/apache2/ports.conf
4
+ RUN sed '/Listen/{s/\([0-9]\+\)/8080/; :a;n; ba}' /etc/apache2/ports.conf
5
  RUN service apache2 start
6
 
7
  CMD ["bash", "-c", "service apache2 start; stail -F error.log"]
README.md CHANGED
@@ -6,7 +6,7 @@ colorTo: gray
6
  sdk: docker
7
  pinned: false
8
  license: cc-by-nc-nd-4.0
9
- app_port: 80
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
6
  sdk: docker
7
  pinned: false
8
  license: cc-by-nc-nd-4.0
9
+ app_port: 8080
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference