Dockefile
Browse files- Dockerfile +15 -0
- README.md +1 -0
Dockerfile
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM golang:1.24 as builder
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
COPY . .
|
| 6 |
+
|
| 7 |
+
RUN go build -o main .
|
| 8 |
+
|
| 9 |
+
FROM golang:1.24
|
| 10 |
+
|
| 11 |
+
WORKDIR /app
|
| 12 |
+
|
| 13 |
+
COPY --from=builder /app/main .
|
| 14 |
+
|
| 15 |
+
CMD ["./main"]
|
README.md
CHANGED
|
@@ -6,6 +6,7 @@ colorTo: red
|
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
short_description: Recipe viewer from the hebrew recipes dataset
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
short_description: Recipe viewer from the hebrew recipes dataset
|
| 9 |
+
app_port: 8080
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|