2791e68131
Signed-off-by: Odyssey346 <odyssey346@disroot.org>
14 lines
251 B
Docker
14 lines
251 B
Docker
FROM golang:1.18-alpine3.16
|
|
|
|
ENV SEGFAUTILITIES_PORT 6893
|
|
|
|
RUN mkdir /segfautilities
|
|
WORKDIR /segfautilities
|
|
COPY . /segfautilities/
|
|
RUN go mod download
|
|
|
|
EXPOSE 6893
|
|
|
|
RUN go build -o segfautilities
|
|
RUN chmod +x segfautilities
|
|
CMD ["./segfautilities"] |