FROM golang:alpine
WORKDIR /app
COPY fedilogue fedilogue
RUN ls -la ./
RUN pwd
ENV DATABASE_URL "postgres://$PGUSER:$PGPASSWORD@db/$PGDATABASE"
CMD ["/app/fedilogue"]