2021-04-17 13:46:38 +02:00
|
|
|
# vim: filetype=dockerfile
|
2021-04-12 17:39:52 +02:00
|
|
|
FROM chewingbever/fej-builder:latest
|
|
|
|
|
2021-04-12 23:03:15 +02:00
|
|
|
ENV RUST_BACKTRACE 1
|
2021-04-12 17:39:52 +02:00
|
|
|
|
2021-04-24 09:33:42 +02:00
|
|
|
# Copy source code over to builder
|
|
|
|
COPY --chown=builder:builder Cargo.toml Cargo.lock ./
|
|
|
|
COPY --chown=builder:builder src/ ./src/
|
|
|
|
COPY --chown=builder:builder migrations/ ./migrations/
|
2021-04-17 13:46:38 +02:00
|
|
|
COPY --chown=builder:builder ./docker/entrypoint_dev.sh /entrypoint.sh
|
2021-04-17 14:19:53 +02:00
|
|
|
COPY --chown=builder:builder ./Rocket.toml /app/Rocket.toml
|
2021-04-16 23:20:22 +02:00
|
|
|
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|