Dockerfile fix.

This commit is contained in:
Stanislav Nikitin 2019-10-07 22:04:21 +05:00
parent 355dac8ea3
commit baee0c9b29
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE

View File

@ -3,8 +3,6 @@ FROM golang:1.13.1-alpine AS build
WORKDIR /go/src/sources.dev.pztrn.name/pztrn/giredore WORKDIR /go/src/sources.dev.pztrn.name/pztrn/giredore
COPY . . COPY . .
WORKDIR /go/src/gitlab.com/pztrn/fastpastebin/cmd/fastpastebin
RUN cd /go/src/sources.dev.pztrn.name/pztrn/giredore/cmd/giredored && go build && cd ../giredorectl && go build RUN cd /go/src/sources.dev.pztrn.name/pztrn/giredore/cmd/giredored && go build && cd ../giredorectl && go build
FROM alpine:latest FROM alpine:latest