~dricottone/simple-chat

ref: f64ce779fd5e0561d01c1eb29d8aa63c2f44a1ef simple-chat/Dockerfile -rw-r--r-- 182 bytes
f64ce779Dominic Ricottone Makefile update 1 year, 10 months 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" ]