Commit 278d0a38 authored by Nico Baruna Putra's avatar Nico Baruna Putra

create dockerfile

parent 01945620
# syntax=docker/dockerfile:1
FROM golang:1.19
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY *.go ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /watcher
EXPOSE 8080
CMD ["/watcher"]
\ No newline at end of file
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment