Add existing codebase
This commit is contained in:
commit
c23a68347b
16 changed files with 807 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue