From 63637c0f4e9a2072a15d7149c98655c90695be20 Mon Sep 17 00:00:00 2001 From: Joshua Coles Date: Sun, 3 Mar 2024 21:05:41 +0000 Subject: [PATCH] Fix dockerfile --- Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 44ac59f..e26d22e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,9 @@ ################################################################################ # Create a stage for building the application. -ARG RUST_VERSION=1.71.1 -ARG APP_NAME=timing-beachhead -ARG PACKAGE_NAME=beachhead +ARG RUST_VERSION=1.76.0 +ARG APP_NAME=toggl-portal +ARG PACKAGE_NAME=toggl-portal FROM rust:${RUST_VERSION}-slim-bullseye AS build ARG APP_NAME ARG PACKAGE_NAME @@ -28,9 +28,7 @@ RUN apt-get update && \ # 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=obsidian-portal,target=obsidian-portal \ - --mount=type=bind,source=toggl-portal,target=toggl-portal \ - --mount=type=bind,source=lectures-portal,target=lectures-portal \ + --mount=type=bind,source=migration,target=migration \ --mount=type=bind,source=Cargo.toml,target=Cargo.toml \ --mount=type=bind,source=Cargo.lock,target=Cargo.lock \ --mount=type=cache,target=/app/target/ \