# syntax=docker/dockerfile:1 FROM rust:1.82.0-slim-bullseye AS build WORKDIR /app ARG APP_NAME=mastodon-image-uploader-bot RUN apt update && apt install pkg-config openssl libssl-dev -y RUN --mount=type=bind,source=src,target=src \ --mount=type=bind,source=Cargo.toml,target=Cargo.toml \ --mount=type=bind,source=Cargo.lock,target=Cargo.lock \ <