~dricottone/simple-chat

ref: 3fd5e03203d8708fcb3b2da80bc8b1fae0cbf338 simple-chat/Dockerfile -rw-r--r-- 182 bytes
3fd5e032Dominic Ricottone Adding digital signatures. 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 8080
RUN adduser -H -D -u 1001 me
USER me:me
CMD [ "/app/server-bin" ]