docker-demo: get dockerfile working again
@@ -10,8 +10,6 @@ RUN glide install --skip-test -v
ADD . .
RUN go install .
-RUN /go/bin/hydra migrate sql
-
-ENTRYPOINT /go/bin/hydra host --dangerous-auto-logon --dangerous-force-http
+ENTRYPOINT /go/bin/hydra migrate sql $DATABASE_URL; /go/bin/hydra host --dangerous-auto-logon --dangerous-force-http
EXPOSE 4444
\ No newline at end of file
