Spaces:
Sleeping
Sleeping
niuyazhe
commited on
Commit
•
94a0346
0
Parent(s):
feature(nyz): init
Browse files- Dockerfile +12 -0
- README.md +12 -0
- start.sh +2 -0
Dockerfile
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM amazonlinux:2023.2.20231011.0 as base
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
|
5 |
+
RUN dnf install vim git nodejs -y && npm install -g pnpm
|
6 |
+
|
7 |
+
RUN git clone https://github.com/opendilab/CleanS2S.git /app/CleanS2S
|
8 |
+
|
9 |
+
RUN cd /app/CleanS2S/frontend_nextjs && pnpm install
|
10 |
+
|
11 |
+
EXPOSE 7860
|
12 |
+
CMD sh ./start.sh
|
README.md
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: CleanS2S
|
3 |
+
emoji: 🎭
|
4 |
+
colorFrom: indigo
|
5 |
+
colorTo: blue
|
6 |
+
sdk: docker
|
7 |
+
app_file: server.py
|
8 |
+
app_port: 7860
|
9 |
+
pinned: false
|
10 |
+
license: apache-2.0
|
11 |
+
python_version: 3.9
|
12 |
+
---
|
start.sh
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
#!/bin/sh
|
2 |
+
cd /app/CleanS2S & pnpm dev --port 7860
|