~dricottone/simple-chat

ref: 11a6d556c1f8edfa3e9d65b2f4af90aceec1147b simple-chat/Dockerfile -rw-r--r-- 182 bytes
11a6d556Dominic Ricottone Update port to 8080 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" ]