remove debug param
This commit is contained in:
parent
200dd620ae
commit
1ab9d78736
2 changed files with 4 additions and 3 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.env
|
||||||
|
|
@ -2,8 +2,8 @@ FROM golang:alpine as builder
|
||||||
RUN apk --no-cache add git
|
RUN apk --no-cache add git
|
||||||
WORKDIR /go/src/app
|
WORKDIR /go/src/app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN go get -d -v ./...
|
RUN go get -d ./...
|
||||||
RUN go install -v ./...
|
RUN go install ./...
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
@ -12,4 +12,4 @@ WORKDIR /app
|
||||||
COPY --from=builder /go/bin/app .
|
COPY --from=builder /go/bin/app .
|
||||||
COPY config.yaml config.yaml
|
COPY config.yaml config.yaml
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD ["./app", "-shared_secret=$SHARED_SECRET"]
|
CMD ["./app"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue