fix: Dockerfile command case

This commit is contained in:
Jack Wills
2024-07-27 09:55:57 +00:00
parent dfced56427
commit 068e4025a5
+3 -3
View File
@@ -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