Spaces:
Sleeping
Sleeping
Download Dockerfile from GoJulyAI/sycophancy-benchmark: direct link, hf CLI and curl.
- Browser
- Download file 271 Bytes
-
https://huggingface.co/spaces/GoJulyAI/sycophancy-benchmark/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/GoJulyAI/sycophancy-benchmark/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/GoJulyAI/sycophancy-benchmark/resolve/main/Dockerfile
271 Bytes
| FROM node:18-alpine AS build | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm install | |
| COPY . . | |
| RUN npm run build | |
| FROM nginx:alpine | |
| COPY --from=build /app/build /usr/share/nginx/html | |
| COPY nginx.conf /etc/nginx/conf.d/default.conf | |
| EXPOSE 7860 | |
| CMD ["nginx", "-g", "daemon off;"] | |