Crackord/fullstream/Dockerfile

10 lines
212 B
Docker
Raw Normal View History

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