This repository has been archived on 2022-10-30. You can view files and clone it, but cannot push or open issues or pull requests.
Segfautils/Dockerfile

15 lines
245 B
Docker
Raw Normal View History

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"]