Spaces:
Sleeping
Sleeping
niuyazhe commited on
Commit ·
e60e77c
1
Parent(s): 94a0346
fix(nyz): fix bugs
Browse filesFiles changed (2)
- Dockerfile+10-4
- start.shDeleted-2
123456789101112FROM amazonlinux:2023.2.20231011.0 as baseWORKDIR /appRUN dnf install vim git nodejs -y && npm install -g pnpmRUN git clone https://github.com/opendilab/CleanS2S.git /app/CleanS2SRUN cd /app/CleanS2S/frontend_nextjs && pnpm installEXPOSE 7860CMD sh ./start.sh123456789101112131415161718FROM amazonlinux:2023.2.20231011.0 as baseRUN dnf install vim git nodejs -y && npm install -g pnpm# Switch to the "user" userRUN useradd -m -u 1000 userRUN mkdir -p /CleanS2S && chown -R 1000:1000 /CleanS2SUSER userRUN git clone https://github.com/opendilab/CleanS2S.gitWORKDIR /CleanS2S/frontend_nextjsRUN pnpm installEXPOSE 7860CMD ["pnpm", "dev", "--port", "7860"]
12#!/bin/shcd /app/CleanS2S & pnpm dev --port 7860Dockerfile+10-4
start.shDeleted-2