Dockerfile 224 B

12345678910
  1. FROM debian:buster-slim
  2. # Copy the binary to the production image from the builder stage.
  3. WORKDIR /app
  4. COPY ./main /app/main
  5. # Set workdir.
  6. RUN chmod +x /app/main
  7. # Run the web service on container startup.
  8. CMD ["./main"]