mirror of
https://github.com/terorie/od-database-crawler.git
synced 2025-12-14 07:39:03 +00:00
New Dockerfile and Travis Config
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM golang:1.11.5 AS builder
|
||||
ADD . /src
|
||||
RUN cd /src
|
||||
&& go build -o binary
|
||||
|
||||
FROM alpine
|
||||
WORKDIR /app
|
||||
COPY --from=builder /src/binary /app/
|
||||
ENTRYPOINT ./binary
|
||||
Reference in New Issue
Block a user