From 068e4025a5d6049a9a6951a0480a6bdef7379f88 Mon Sep 17 00:00:00 2001 From: Jack Wills <32690432+mrjackwills@users.noreply.github.com> Date: Sat, 27 Jul 2024 09:55:57 +0000 Subject: [PATCH] fix: Dockerfile command case --- containerised/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/containerised/Dockerfile b/containerised/Dockerfile index 5cceeca..3c2c7b8 100644 --- a/containerised/Dockerfile +++ b/containerised/Dockerfile @@ -2,7 +2,7 @@ ## Builder ## ############# -FROM --platform=linux/amd64 rust:slim as BUILDER +FROM --platform=linux/amd64 rust:slim AS builder ARG TARGETARCH @@ -49,12 +49,12 @@ RUN cp /usr/src/oxker/target/$(cat /.platform)/release/oxker / ## Runtime ## ############# -FROM scratch as RUNTIME +FROM scratch # Set an ENV to indicate that we're running in a container ENV OXKER_RUNTIME=container -COPY --from=BUILDER /oxker /app/ +COPY --from=builder /oxker /app/ # Run the application # this is used in the application itself so DO NOT EDIT