Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -23,6 +23,9 @@ WORKDIR /root/
|
|
| 23 |
# Copy the binary from the builder stage
|
| 24 |
COPY --from=builder /app/ctf-server .
|
| 25 |
|
|
|
|
|
|
|
|
|
|
| 26 |
# Expose the port Hugging Face Spaces expects (7860)
|
| 27 |
EXPOSE 7860
|
| 28 |
|
|
|
|
| 23 |
# Copy the binary from the builder stage
|
| 24 |
COPY --from=builder /app/ctf-server .
|
| 25 |
|
| 26 |
+
# CRITICAL: Copy the source code so /source endpoint can serve it
|
| 27 |
+
COPY --from=builder /app/main.go .
|
| 28 |
+
|
| 29 |
# Expose the port Hugging Face Spaces expects (7860)
|
| 30 |
EXPOSE 7860
|
| 31 |
|