|
@@ -3,8 +3,8 @@ RUN apk update && apk add git gcc libc-dev sqlite sqlite-dev && rm -rf /var/cach
|
|
ARG GITHUB_TOKEN
|
|
ARG GITHUB_TOKEN
|
|
WORKDIR /go/src/github.com/qor5/docs
|
|
WORKDIR /go/src/github.com/qor5/docs
|
|
COPY . .
|
|
COPY . .
|
|
-RUN set -x && go get -d -v ./docsrc/dev/...
|
|
|
|
-RUN GOOS=linux GOARCH=amd64 go build -o /app/entry ./docsrc/dev/
|
|
|
|
|
|
+RUN set -x && go get -d -v ./docsrc/server/...
|
|
|
|
+RUN GOOS=linux GOARCH=amd64 go build -o /app/entry ./docsrc/server/
|
|
|
|
|
|
FROM alpine
|
|
FROM alpine
|
|
RUN apk update && apk add sqlite sqlite-dev && rm -rf /var/cache/apk/*
|
|
RUN apk update && apk add sqlite sqlite-dev && rm -rf /var/cache/apk/*
|