# vim: filetype=dockerfile FROM chewingbever/fej-builder:latest ENV RUST_BACKTRACE 1 # 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/ COPY --chown=builder:builder ./Rocket.toml /app/Rocket.toml ENTRYPOINT ["cargo"]