14 lines
130 B
Docker
14 lines
130 B
Docker
FROM golang:1.22-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
VOLUME /app/images
|
|
|
|
EXPOSE 3666
|
|
|
|
COPY main.go ./
|
|
|
|
RUN go build main.go
|
|
|
|
CMD ["/app/main"]
|
|
|