Spaces:
Sleeping
Sleeping
ogerly commited on
Commit ·
a1eb585
1
Parent(s): 76cee8a
Change to docker SDK to fix config error
Browse files- Dockerfile +5 -0
- README.md +2 -2
Dockerfile
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM nginx:alpine
|
| 2 |
+
COPY . /usr/share/nginx/html
|
| 3 |
+
RUN sed -i 's/listen *80;/listen 7860;/g' /etc/nginx/conf.d/default.conf
|
| 4 |
+
EXPOSE 7860
|
| 5 |
+
CMD ["nginx", "-g", "daemon off;"]
|
README.md
CHANGED
|
@@ -3,8 +3,8 @@ title: OS-Arena
|
|
| 3 |
emoji: 🏟️
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: blue
|
| 6 |
-
sdk:
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
# 🏟️ OS-Arena
|
| 10 |
-
This space hosts the compiled frontend for OS-Arena.
|
|
|
|
| 3 |
emoji: 🏟️
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: blue
|
| 6 |
+
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
# 🏟️ OS-Arena
|
| 10 |
+
This space hosts the compiled frontend for OS-Arena using a Docker nginx container.
|