From 892a2ea783c3006a5e8e9f7fa2666763bafa6896 Mon Sep 17 00:00:00 2001 From: "crashkeys.dev" Date: Fri, 23 Jan 2026 03:00:55 +0100 Subject: [PATCH] docker: removed both build files. --- Dockerfile | 58 ----------------------------------------------- Dockerfile-python | 36 ----------------------------- 2 files changed, 94 deletions(-) delete mode 100644 Dockerfile delete mode 100644 Dockerfile-python diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index b99199a..0000000 --- a/Dockerfile +++ /dev/null @@ -1,58 +0,0 @@ -# syntax=docker/dockerfile:1 - -# Comments are provided throughout this file to help you get started. -# If you need more help, visit the Dockerfile reference guide at -# https://docs.docker.com/reference/dockerfile/ - -################################################################################ -# Create a stage for building the application. - -ARG RUST_VERSION=1.85.0 -ARG APP_NAME=audquotes -FROM rust:${RUST_VERSION}-bullseye AS build -WORKDIR /app - -# Build the application. -# Leverage a cache mount to /usr/local/cargo/registry/ -# for downloaded dependencies and a cache mount to /app/target/ for -# compiled dependencies which will speed up subsequent builds. -# Leverage a bind mount to the src directory to avoid having to copy the -# source code into the container. Once built, copy the executable to an -# output directory before the cache mounted /app/target is unmounted. -RUN --mount=type=bind,source=src,target=src \ - --mount=type=bind,source=quotes,target=quotes \ - --mount=type=bind,source=Cargo.toml,target=Cargo.toml \ - --mount=type=bind,source=Cargo.lock,target=Cargo.lock \ - --mount=type=cache,target=/app/target/ \ - --mount=type=cache,target=/usr/local/cargo/registry/ \ - <