1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-Meitu-Titan

Клонировать/Скачать
Dockerfile 506
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
arthur Отправлено 30.12.2019 15:02 373c7d9
# Builder image
FROM golang:1.13.5-alpine3.11 as builder
RUN apk add --no-cache \
make \
git
COPY . /go/src/github.com/distributedio/titan
WORKDIR /go/src/github.com/distributedio/titan
RUN env GOOS=linux CGO_ENABLED=0 make
# Executable image
FROM alpine
COPY --from=builder /go/src/github.com/distributedio/titan/titan /titan/bin/titan
COPY --from=builder /go/src/github.com/distributedio/titan/conf/titan.toml /titan/conf/titan.toml
WORKDIR /titan
EXPOSE 7369
ENTRYPOINT ["./bin/titan"]

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-Meitu-Titan.git
git@api.gitlife.ru:oschina-mirror/mirrors-Meitu-Titan.git
oschina-mirror
mirrors-Meitu-Titan
mirrors-Meitu-Titan
master