Are we docker yet?
Signed-off-by: Odyssey346 <odyssey346@disroot.org>
This commit is contained in:
parent
236020cba7
commit
0bffbc3772
12
Dockerfile
Normal file
12
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user