Force redeploy with binary path fix
Browse files- .hfignore +2 -2
- Dockerfile +2 -2
- README.md +0 -1
- pinchtab/go.mod +1 -1
.hfignore
CHANGED
|
@@ -8,8 +8,8 @@ __pycache__/
|
|
| 8 |
.venv
|
| 9 |
venv/
|
| 10 |
node_modules/
|
| 11 |
-
.cache/
|
| 12 |
-
**/.cache/
|
| 13 |
pinchtab/dashboard/node_modules/
|
| 14 |
pinchtab/dashboard/dist/
|
| 15 |
pinchtab/pinchtab
|
|
|
|
|
|
|
|
|
| 8 |
.venv
|
| 9 |
venv/
|
| 10 |
node_modules/
|
|
|
|
|
|
|
| 11 |
pinchtab/dashboard/node_modules/
|
| 12 |
pinchtab/dashboard/dist/
|
| 13 |
pinchtab/pinchtab
|
| 14 |
+
.cache/
|
| 15 |
+
**/.cache/
|
Dockerfile
CHANGED
|
@@ -17,7 +17,7 @@ COPY pinchtab/ .
|
|
| 17 |
RUN touch internal/assets/stealth.js internal/assets/readability.js
|
| 18 |
COPY --from=dashboard-builder /app/pinchtab/dashboard/dist/ internal/dashboard/dashboard/
|
| 19 |
RUN mv internal/dashboard/dashboard/index.html internal/dashboard/dashboard/dashboard.html || true
|
| 20 |
-
RUN go build -o
|
| 21 |
|
| 22 |
# Final stage
|
| 23 |
FROM python:3.12-slim
|
|
@@ -79,7 +79,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 79 |
COPY . .
|
| 80 |
|
| 81 |
# Copy the Pinchtab binary
|
| 82 |
-
COPY --from=go-builder /
|
| 83 |
|
| 84 |
# Expose ports (FastAPI/Gradio)
|
| 85 |
EXPOSE 7860
|
|
|
|
| 17 |
RUN touch internal/assets/stealth.js internal/assets/readability.js
|
| 18 |
COPY --from=dashboard-builder /app/pinchtab/dashboard/dist/ internal/dashboard/dashboard/
|
| 19 |
RUN mv internal/dashboard/dashboard/index.html internal/dashboard/dashboard/dashboard.html || true
|
| 20 |
+
RUN go build -o /pinchtab_bin ./cmd/pinchtab
|
| 21 |
|
| 22 |
# Final stage
|
| 23 |
FROM python:3.12-slim
|
|
|
|
| 79 |
COPY . .
|
| 80 |
|
| 81 |
# Copy the Pinchtab binary
|
| 82 |
+
COPY --from=go-builder /pinchtab_bin /usr/local/bin/pinchtab
|
| 83 |
|
| 84 |
# Expose ports (FastAPI/Gradio)
|
| 85 |
EXPOSE 7860
|
README.md
CHANGED
|
@@ -49,4 +49,3 @@ This Space requires ZeroGPU (or another GPU) hardware to run local model
|
|
| 49 |
inference.
|
| 50 |
|
| 51 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 52 |
-
# Trigger
|
|
|
|
| 49 |
inference.
|
| 50 |
|
| 51 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
pinchtab/go.mod
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
module github.com/pinchtab/pinchtab
|
| 2 |
|
| 3 |
-
go 1.25
|
| 4 |
|
| 5 |
require (
|
| 6 |
github.com/charmbracelet/lipgloss v1.1.0
|
|
|
|
| 1 |
module github.com/pinchtab/pinchtab
|
| 2 |
|
| 3 |
+
go 1.25.0
|
| 4 |
|
| 5 |
require (
|
| 6 |
github.com/charmbracelet/lipgloss v1.1.0
|