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