mirror of
https://github.com/terorie/od-database-crawler.git
synced 2025-12-12 14:58:51 +00:00
Reset to stable branch
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM golang:1.11.5 AS builder
|
||||
ADD . /src
|
||||
RUN cd /src \
|
||||
&& go test . \
|
||||
&& go build -o binary
|
||||
|
||||
FROM alpine
|
||||
WORKDIR /app
|
||||
COPY --from=builder /src/binary /app/
|
||||
ENTRYPOINT ./binary
|
||||
Reference in New Issue
Block a user