Browse Source

Improve Drone build time

master
Jan-Lukas Else 3 weeks ago
parent
commit
4099f6c56c
  1. 8
      Dockerfile

8
Dockerfile

@ -11,14 +11,14 @@ ADD templates/ /app/templates/
ADD leaflet/ /app/leaflet/
ADD dbmigrations/ /app/dbmigrations/
FROM buildbase as test
RUN go test -cover ./...
FROM buildbase as build
RUN go build -ldflags '-w -s' -o GoBlog
FROM build as test
RUN go test -cover ./...
FROM alpine:3.15 as base
WORKDIR /app

Loading…
Cancel
Save