mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-11-22 17:41:07 +00:00
11 lines
263 B
Docker
11 lines
263 B
Docker
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"]
|