fix: uppercased AS in Dockerfile

This commit is contained in:
David Larlet 2024-08-02 11:08:44 -04:00
parent c6b2dbd04c
commit ccb6ad57cd
No known key found for this signature in database
GPG key ID: 3E2953A359E7E7BD

View file

@ -1,5 +1,5 @@
# This part installs deps needed at runtime. # This part installs deps needed at runtime.
FROM python:3.11-slim as common FROM python:3.11-slim AS common
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
@ -14,7 +14,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# This part adds deps needed only at buildtime. # This part adds deps needed only at buildtime.
FROM common as build FROM common AS build
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \