hanafi43 commited on
Commit
434443e
·
verified ·
1 Parent(s): 41f4848

Upload 2 files

Browse files
Files changed (2) hide show
  1. Dockerfile +15 -0
  2. README.md +9 -10
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ ENV PORT=7860
4
+
5
+ RUN apt-get update && apt-get install -y \
6
+ nginx \
7
+ && rm -rf /var/lib/apt/lists/*
8
+
9
+ RUN echo '<h1>Space Running</h1>' > /var/www/html/index.html
10
+
11
+ RUN sed -i 's/listen 80 default_server;/listen 7860 default_server;/g' /etc/nginx/sites-enabled/default
12
+
13
+ EXPOSE 7860
14
+
15
+ CMD ["nginx", "-g", "daemon off;"]
README.md CHANGED
@@ -1,10 +1,9 @@
1
- ---
2
- title: Windo
3
- emoji: 🏃
4
- colorFrom: pink
5
- colorTo: indigo
6
- sdk: docker
7
- pinned: false
8
- ---
9
-
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
+ ---
2
+ title: LXDE Desktop
3
+ emoji: 💻
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: docker
7
+ app_port: 7860
8
+ pinned: false
9
+ ---