# Use the official Go image as the base image FROM golang:1.22.6 # Set the working directory inside the container WORKDIR /app # Copy the source code into the container COPY . . # Build the Go application RUN go build -o app ./cmd/video_server_backend/main.go # Set the entry point for the container ENTRYPOINT ["./app"]