Browse Source

Compile execute inside Docker context

pull/1/head
Peter Stuifzand 2 years ago
parent
commit
caf9ecc6ad
Signed by: peter GPG Key ID: 374322D56E5209E8
  1. 3
      .drone.yml
  2. 2
      Dockerfile

3
.drone.yml

@ -16,8 +16,7 @@ steps:
commands:
- apk --no-cache add git
- go get -d -t ./...
- go build ./...
- go install ./...
- go build p83.nl/go/ekster/cmd/eksterd
- go test ./...
- name: publish-personal

2
Dockerfile

@ -2,6 +2,6 @@ FROM alpine:3.7
RUN apk --no-cache add ca-certificates
WORKDIR /opt/micropub
EXPOSE 80
COPY ./bin/eksterd /app/
COPY ./eksterd /app/
COPY ./templates /app/templates
ENTRYPOINT ["/app/eksterd"]
Loading…
Cancel
Save