Skip to content

Commit

Permalink
Update Dockerfile (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
ligustah authored Apr 25, 2024
1 parent 57b825f commit 9d776a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1
# adapted from https://docs.docker.com/language/rust/develop/#get-and-run-the-sample-application

ARG RUST_VERSION=1.77.1
ARG RUST_VERSION=1.77.2
ARG APP_NAME=mintpool
FROM rust:${RUST_VERSION}-slim-bullseye AS build
ARG APP_NAME
Expand All @@ -18,6 +18,7 @@ RUN --mount=type=bind,source=justfile,target=justfile \

RUN --mount=type=bind,source=src,target=src \
--mount=type=bind,source=data,target=data \
--mount=type=bind,source=contracts,target=contracts \
--mount=type=bind,source=Cargo.toml,target=Cargo.toml \
--mount=type=bind,source=Cargo.lock,target=Cargo.lock \
--mount=type=cache,target=/app/target/ \
Expand Down

0 comments on commit 9d776a5

Please sign in to comment.