Rename project module to cgnolink

This commit is contained in:
Andrey Chervyakov 2021-03-15 01:24:23 +06:00
parent a4cfa52e3e
commit fca15187b2
7 changed files with 28 additions and 28 deletions

View file

@ -1,10 +1,10 @@
FROM golang:1.16-alpine AS builder
ADD . /src
RUN cd /src/cmd/link && go build
RUN cd /src/cmd/cgnolink && go build
FROM alpine
EXPOSE 8080
WORKDIR /app
COPY --from=builder /src/cmd/link/link /app/
COPY --from=builder /src/cmd/cgnolink/cgnolink /app/
COPY --from=builder /src/migrations /app/migrations
ENTRYPOINT ./link
ENTRYPOINT ./cgnolink