jlelse
/
jsonpub
Archived
1
Fork 0
This repository has been archived on 2020-04-25. You can view files and clone it, but cannot push or open issues or pull requests.
jsonpub/Dockerfile

12 lines
231 B
Docker

FROM golang:1.14-alpine as build
ADD . /app
WORKDIR /app
RUN go build
FROM alpine:3.11
RUN apk add --no-cache tzdata ca-certificates
COPY --from=build /app/jsonpub /bin/
WORKDIR /app
VOLUME /app/storage
EXPOSE 8081
CMD ["jsonpub"]