video-server-backend/Dockerfile
Jose134 7bc56dc6c5
Some checks failed
gitea/video-server-backend/pipeline/head There was a failure building this commit
Created dockerfile, updated jenkinsfile
2024-08-10 01:53:37 +02:00

14 lines
324 B
Docker

# 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"]