hardfiles/Dockerfile

8 lines
161 B
Docker
Raw Normal View History

2023-10-04 01:29:26 +00:00
FROM golang:1.21-alpine
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY *.go ./
RUN go build -o hardfiles main.go
RUN mkdir files
CMD ["./hardfiles"]