Spaces:
Paused
Paused
ML Intern deploy
Deploy httpSMS gateway to Hugging Face Spaces (Docker SDK): nginx :7860 -> Go API :8000, Nuxt SPA, Android APK, bootstrap-mode entrypoint
83a59ca Download tests/adapter-emulator/Dockerfile from red-kit/httpsms-gateway: direct link, hf CLI and curl.
- Browser
- Download file 303 Bytes
-
https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/main/tests/adapter-emulator/Dockerfile
- Command line
-
hf download hf://spaces/red-kit/httpsms-gateway/tests/adapter-emulator/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/main/tests/adapter-emulator/Dockerfile
303 Bytes
| FROM golang:1.25-alpine AS build | |
| WORKDIR /src | |
| COPY go.mod ./ | |
| RUN go mod download | |
| COPY . . | |
| RUN CGO_ENABLED=0 go build -o /out/adapter-emulator . | |
| FROM alpine:3.22 | |
| RUN adduser -D -u 10001 app | |
| USER app | |
| COPY --from=build /out/adapter-emulator /usr/local/bin/adapter-emulator | |
| ENTRYPOINT ["adapter-emulator"] | |