2f6fbed9c0
Signed-off-by: Odyssey346 <odyssey346@disroot.org>
15 lines
245 B
Docker
15 lines
245 B
Docker
FROM golang:1.18-alpine3.16
|
|
|
|
ENV SEGFAUTILS_PORT 6893
|
|
|
|
RUN mkdir /segfautils
|
|
WORKDIR /segfautils
|
|
COPY . /segfautils/
|
|
RUN go mod download
|
|
|
|
EXPOSE 6893
|
|
|
|
RUN go build -o segfautils
|
|
RUN chmod +x segfautils
|
|
RUN go clean -modcache
|
|
CMD ["./segfautils"] |