relay/Dockerfile.migrations.arm64v8

12 lines
263 B
Docker
Raw Normal View History

FROM asonix/diesel-cli:v1.4.0-r1-arm64v8
2020-03-22 21:18:36 +00:00
COPY migrations /migrations
USER root
RUN \
apt-get install -y tini && \
chown -R diesel:diesel /migrations
2020-03-22 21:18:36 +00:00
USER diesel
ENTRYPOINT ["/usr/bin/tini"]
2020-03-22 21:18:36 +00:00
CMD ["diesel", "migration", "run", "--migration-dir", "/migrations"]