Version v0.1.0-r103

This commit is contained in:
asonix
2020-06-10 17:45:59 -05:00
parent a5518aa3f2
commit aaa54d26cc
8 changed files with 331 additions and 110 deletions
+11
View File
@@ -0,0 +1,11 @@
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"]