should work with CI now, untested
This commit is contained in:
21
Dockerfile
Normal file
21
Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM golang:1.15 as builder
|
||||
|
||||
RUN mkdir /build
|
||||
ADD . /build/
|
||||
WORKDIR /build
|
||||
RUN make build
|
||||
|
||||
|
||||
FROM scratch
|
||||
|
||||
COPY --from=builder /build/formless /app/formless
|
||||
COPY --from=builder /go /goarchive
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENV PORT 8080
|
||||
ENV DBURL none
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["./formless"]
|
||||
Reference in New Issue
Block a user