Don't use actor for notify, fix migration dockerfile

This commit is contained in:
asonix
2020-03-22 18:06:49 -05:00
parent 5e09fadc3b
commit 7510ab5b94
4 changed files with 72 additions and 140 deletions
+7 -1
View File
@@ -1,5 +1,11 @@
FROM asonix/diesel-cli:v1.4.0-r0-arm64v8
FROM asonix/diesel-cli:v1.4.0-r1-arm64v8
COPY migrations /migrations
USER root
RUN \
apt-get install -y tini && \
chown -R diesel:diesel /migrations
USER diesel
ENTRYPOINT ["/usr/bin/tini"]
CMD ["diesel", "migration", "run", "--migration-dir", "/migrations"]