Files
knet/dockerfile
JurajKubrican 74669f15f7 new build
2025-08-22 18:14:39 +02:00

18 lines
353 B
Plaintext

FROM scratch
# Set the current working directory inside the container
WORKDIR /app
COPY ./server .
COPY ./views ./views
COPY ./data ./data
COPY ./js ./js
COPY ./css ./css
COPY ./build_number ./build_number
# COPY --from=builder server ./
# Command to run the executable
CMD ["./server"]
# Expose the port on which the Go server will run
EXPOSE 54321