~dricottone/simple-chat

ref: ee1987a41db3b68ac9d5da905327ce64a0123297 simple-chat/Dockerfile -rw-r--r-- 183 bytes
ee1987a4Dominic Ricottone Initial commit 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
FROM golang:alpine

WORKDIR /app
COPY server/* ./
RUN go mod download
RUN go build -o /app/server-bin

EXPOSE 40080
RUN adduser -H -D -u 1001 me
USER me:me
CMD [ "/app/server-bin" ]