lifedebugger commited on
Commit
ef44f53
·
verified ·
1 Parent(s): 12a70ac

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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