fix
This commit is contained in:
parent
7f74ddef2e
commit
4660c0db36
@ -7,13 +7,12 @@ FROM golang:alpine AS builder
|
||||
RUN apk update && apk add --no-cache 'git=~2'
|
||||
|
||||
# Install dependencies
|
||||
ENV GO111MODULE=on
|
||||
WORKDIR $GOPATH/src/packages/goginapp/
|
||||
COPY . .
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
# Fetch dependencies.
|
||||
# Using go get.
|
||||
RUN go get -d -v
|
||||
COPY . .
|
||||
|
||||
# Build the binary.
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /go/main .
|
||||
@ -21,7 +20,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /go/main .
|
||||
############################
|
||||
# STEP 2 build a small image
|
||||
############################
|
||||
FROM alpine:3
|
||||
FROM alpine:latest
|
||||
|
||||
WORKDIR /
|
||||
|
||||
|
@ -148,6 +148,7 @@
|
||||
document.getElementById('cancel-conversation-button').classList.remove('is-hidden');
|
||||
document.getElementById('delete-conversation-button').classList.add('is-hidden');
|
||||
document.getElementById('conversation-list').classList.add('is-hidden');
|
||||
document.getElementById('archive-default-conversation-button').classList.add('is-hidden');
|
||||
})
|
||||
|
||||
document.getElementById('cancel-conversation-button').addEventListener('click', function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user