-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.tests
More file actions
23 lines (19 loc) · 801 Bytes
/
Copy pathDockerfile.tests
File metadata and controls
23 lines (19 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM mariadb:10.3
ENV MYSQL_ROOT_PASSWORD="123123123"
ENV MYSQL_DATABASE="ktp_db"
ENV MYSQL_USER="mariadbuser"
ENV MYSQL_PASSWORD="exam_engine_password"
EXPOSE 3306
# FROM golang:1.14.6-alpine as builder
# COPY go.mod go.sum /go/src/github.com/marcellof23/GoGraphql/
# WORKDIR /go/src/github.com/marcellof23/GoGraphql/
# RUN go mod download
# COPY . /go/src/github.com/marcellof23/GoGraphql/
# RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o build/GoGraphql github.com/marcellof23/GoGraphql
# FROM alpine
# RUN apk add --no-cache ca-certificates && update-ca-certificates
# COPY --from=builder /go/src/github.com/marcellof23/GoGraphql/build/GoGraphql /usr/bin/GoGraphql
# EXPOSE 8080 8080
# # CMD ["ping","localhost"]
# CMD ["/usr/bin/GoGraphql"]
# ENTRYPOINT ["/usr/bin/GoGraphql"]