Move all samples to the root dir
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
This commit is contained in:
10
nginx-golang-mysql/backend/Dockerfile
Executable file
10
nginx-golang-mysql/backend/Dockerfile
Executable file
@@ -0,0 +1,10 @@
|
||||
FROM golang:1.13-alpine AS build
|
||||
WORKDIR /go/src/github.com/org/repo
|
||||
COPY . .
|
||||
|
||||
RUN go build -o server .
|
||||
|
||||
FROM alpine:3.7
|
||||
EXPOSE 8000
|
||||
COPY --from=build /go/src/github.com/org/repo/server /server
|
||||
CMD ["/server"]
|
Reference in New Issue
Block a user