Are we docker yet?

Signed-off-by: Odyssey346 <odyssey346@disroot.org>
This commit is contained in:
Odyssey346 2022-07-26 19:12:43 +02:00
parent 236020cba7
commit 0bffbc3772

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM golang:1.18-alpine3.16
ENV SEGFAUTILITIES_PORT 6893
RUN mkdir /segfautilities
WORKDIR /segfautilities
COPY . /segfautilities/
RUN go mod download
EXPOSE 6893
CMD ["go", "run", "main.go"]