From 9291c7797ad9b5237bd6de96f641e8e610ba344d Mon Sep 17 00:00:00 2001 From: mein Name Date: Sat, 1 Mar 2025 10:39:55 -0500 Subject: [PATCH] fix syntax in Dockerfile --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1e70f25d..dd8f8ced 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -FROM python:3.12-slim as build +FROM python:3.12-slim AS build ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 @@ -24,15 +24,15 @@ RUN python -m venv /takahe-venv RUN --mount=type=cache,sharing=locked,target=/root/.cache /takahe-venv/bin/python3 -m pip install --upgrade -r requirements.lock # runtime stage -FROM python:3.12-slim as runtime +FROM python:3.12-slim AS runtime ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 RUN --mount=type=cache,sharing=locked,target=/var/cache/apt-run apt-get update \ && apt-get install -y --no-install-recommends libpq-dev \ - busybox \ - nginx \ - gettext-base + busybox \ + nginx \ + gettext-base RUN busybox --install # postgresql and redis cli are not required, but install for development convenience