aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docker
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-03-06 19:52:15 +0100
committerEgor Tensin <egor@tensin.name>2024-03-06 19:52:15 +0100
commit16c7a18bcac8483dc9b94b7c598ef2de814297ba (patch)
tree556162288a4c693c430cf0d778a15800424490b0 /docker
parentrequirements.txt: bump dependencies (diff)
downloadcgitize-16c7a18bcac8483dc9b94b7c598ef2de814297ba.tar.gz
cgitize-16c7a18bcac8483dc9b94b7c598ef2de814297ba.zip
Dockerfile: fix casing
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index fa9b58d..2450142 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -4,10 +4,10 @@ FROM base AS deps
RUN apk add -q --no-cache gcc libffi-dev make musl-dev
-FROM deps as deps-amd64
-FROM deps as deps-arm64
+FROM deps AS deps-amd64
+FROM deps AS deps-arm64
-FROM deps as deps-arm
+FROM deps AS deps-arm
# The cryptography package doesn't distribute pre-built binaries for this
# platform, which is why it's built manually (and requires extra dependencies).
@@ -21,7 +21,7 @@ RUN apk add -q --no-cache cargo git openssl-dev rust
# This is also the reason to install git as a build dependency.
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
-FROM deps-$TARGETARCH as build
+FROM deps-$TARGETARCH AS build
COPY ["requirements.txt", "/tmp/"]
RUN pip3 install -q --no-cache-dir --target=/deps -r /tmp/requirements.txt