Skip to content

Commit

Permalink
Get rid of Dockerfile syntax warning (#978)
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem authored Oct 1, 2024
1 parent 72b8224 commit 01dc9eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.6 as python-base
FROM python:3.12.6 AS python-base

ENV PIP_DEFAULT_TIMEOUT=100 \
PIP_DISABLE_PIP_VERSION_CHECK=on \
Expand All @@ -16,7 +16,7 @@ WORKDIR $PYSETUP_PATH
COPY ./poetry.lock ./pyproject.toml ./
RUN $POETRY_HOME/bin/poetry install --no-root --only main

FROM python:3.12.6-slim as production
FROM python:3.12.6-slim AS production

COPY bin/update_and_install_system_packages.sh /opt
RUN opt/update_and_install_system_packages.sh libpq5
Expand Down

0 comments on commit 01dc9eb

Please sign in to comment.