fedilogue/fedilogue/Dockerfile
2021-03-17 23:15:09 +00:00

9 lines
210 B
Docker

FROM golang:alpine
COPY . /app
WORKDIR /app
RUN apk add postgresql-client
RUN go build .
ENV DATABASE_URL "postgres://fedilogue:fedilogue@db/fedilogue"
ENV PGPASSWORD "fedilogue"
ENTRYPOINT ["./entrypoint.sh"]