Files
zephyr/Dockerfile
2025-06-20 09:51:38 +02:00

20 lines
282 B
Docker

FROM golang:alpine
LABEL author="Marco Cetica"
# Prepare working directory
RUN mkdir /app
WORKDIR /app
# Copy source files
COPY . .
# Run unit tests
RUN go test ./... -v
# Build the application
RUN go build -ldflags="-s -w" -o zephyr
# Run the app
EXPOSE 3000
CMD ["./zephyr"]