Add existing codebase

This commit is contained in:
Andrey Chervyakov 2021-03-13 01:43:08 +06:00
commit c23a68347b
16 changed files with 807 additions and 0 deletions

9
Dockerfile Normal file
View file

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