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

Instalación de apache 2

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -1
  2. README.md +1 -0
Dockerfile CHANGED
@@ -1,3 +1,5 @@
1
  FROM debian:12.8-slim
 
 
2
 
3
- CMD ["bash", "-c", "tail -F error.log"]
 
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"]
README.md CHANGED
@@ -6,6 +6,7 @@ colorTo: gray
6
  sdk: docker
7
  pinned: false
8
  license: cc-by-nc-nd-4.0
 
9
  ---
10
 
11
  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: 80
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference