10 lines
212 B
Docker
10 lines
212 B
Docker
|
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"
|