Open source video conferencing app powered by LiveKit. Built with Django and React.
🎨(docker) convert to uppercase 'as' keyword
lebaudantoine372db49e9416
diff --git a/Dockerfile b/Dockerfileindex 4d367e7b..a9f66fa1 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,7 +1,7 @@# Django Meet# ---- base image to inherit from -----FROM python:3.12.6-alpine3.20 as base+FROM python:3.12.6-alpine3.20 AS base# Upgrade pip to its latest release to speed up dependencies installationRUN python -m pip install --upgrade pip setuptools@@ -11,7 +11,7 @@ RUN apk update && \apk upgrade# ---- Back-end builder image -----FROM base as back-builder+FROM base AS back-builderWORKDIR /builder@@ -23,7 +23,7 @@ RUN mkdir /install && \# ---- mails -----FROM node:20 as mail-builder+FROM node:20 AS mail-builderCOPY ./src/mail /mail/app@@ -34,7 +34,7 @@ RUN yarn install --frozen-lockfile && \# ---- static link collector -----FROM base as link-collector+FROM base AS link-collectorARG MEET_STATIC_ROOT=/data/staticRUN apk add \@@ -58,7 +58,7 @@ RUN DJANGO_CONFIGURATION=Build DJANGO_JWT_PRIVATE_SIGNING_KEY=Dummy \RUN rdfind -makesymlinks true -followsymlinks true -makeresultsfile false ${MEET_STATIC_ROOT}# ---- Core application image -----FROM base as core+FROM base AS coreENV PYTHONUNBUFFERED=1@@ -93,7 +93,7 @@ WORKDIR /appENTRYPOINT [ "/usr/local/bin/entrypoint" ]# ---- Development image -----FROM core as backend-development+FROM core AS backend-development# Switch back to the root user to install development dependenciesUSER root:root@@ -119,7 +119,7 @@ ENV DB_HOST=postgresql \CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]# ---- Production image -----FROM core as backend-production+FROM core AS backend-productionARG MEET_STATIC_ROOT=/data/staticdiff --git a/src/frontend/Dockerfile b/src/frontend/Dockerfileindex 8b0ede3c..406a2e5d 100644--- a/src/frontend/Dockerfile+++ b/src/frontend/Dockerfile@@ -1,4 +1,4 @@-FROM node:20-alpine as frontend-deps+FROM node:20-alpine AS frontend-depsWORKDIR /home/frontend/@@ -11,11 +11,11 @@ COPY .dockerignore ./.dockerignoreCOPY ./src/frontend/ .### ---- Front-end builder image -----FROM frontend-deps as meet+FROM frontend-deps AS meetWORKDIR /home/frontend-FROM frontend-deps as meet-dev+FROM frontend-deps AS meet-devWORKDIR /home/frontend@@ -25,14 +25,14 @@ CMD [ "npm", "run", "dev"]# Tilt will rebuild Meet target so, we dissociate meet and meet-builder# to avoid rebuilding the app at every changes.-FROM meet as meet-builder+FROM meet AS meet-builderWORKDIR /home/frontendRUN npm run build# ---- Front-end image -----FROM nginxinc/nginx-unprivileged:1.26-alpine as frontend-production+FROM nginxinc/nginx-unprivileged:1.26-alpine AS frontend-production# Un-privileged user running the applicationARG DOCKER_USER