Spaces:
Paused
Paused
ffreemt
commited on
Commit
·
3bec37b
1
Parent(s):
22f7d39
Swap git repo
Browse files- Dockerfile +2 -2
- README.md +2 -2
Dockerfile
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
FROM node:18-bullseye-slim
|
| 2 |
RUN apt-get update && \
|
| 3 |
apt-get install -y git
|
| 4 |
-
RUN git clone https://github.com/
|
| 5 |
WORKDIR /app
|
| 6 |
RUN chown -R 1000:1000 /app
|
| 7 |
USER 1000
|
| 8 |
RUN npm install
|
| 9 |
COPY Dockerfile greeting.md* .env* ./
|
| 10 |
-
RUN
|
| 11 |
EXPOSE 7860
|
| 12 |
ENV NODE_ENV=production
|
| 13 |
ENV NODE_OPTIONS="--max-old-space-size=12882"
|
|
|
|
| 1 |
FROM node:18-bullseye-slim
|
| 2 |
RUN apt-get update && \
|
| 3 |
apt-get install -y git
|
| 4 |
+
RUN git clone https://github.com/LLM-Red-Team/deepseek-free-api.git /app
|
| 5 |
WORKDIR /app
|
| 6 |
RUN chown -R 1000:1000 /app
|
| 7 |
USER 1000
|
| 8 |
RUN npm install
|
| 9 |
COPY Dockerfile greeting.md* .env* ./
|
| 10 |
+
RUN npm run build
|
| 11 |
EXPOSE 7860
|
| 12 |
ENV NODE_ENV=production
|
| 13 |
ENV NODE_OPTIONS="--max-old-space-size=12882"
|
README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
emoji: 📉
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: blue
|
| 6 |
sdk: docker
|
| 7 |
-
pinned:
|
| 8 |
---
|
| 9 |
|
| 10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: redteam-deepseek
|
| 3 |
emoji: 📉
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: blue
|
| 6 |
sdk: docker
|
| 7 |
+
pinned: true
|
| 8 |
---
|
| 9 |
|
| 10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|