Crackord/turn/Dockerfile

9 lines
190 B
Docker

FROM golang:1.22.5-alpine3.20
LABEL author="moxitech"
WORKDIR /var/moxitech_goturn
COPY app /var/moxitech_goturn
RUN go get ./...;
RUN go build -o main cmd/main.go
EXPOSE 3434
CMD "./main"