Skip to content

Commit

Permalink
⬆️ update poetry in django composed image
Browse files Browse the repository at this point in the history
  • Loading branch information
bunop committed Jan 22, 2024
1 parent 76d9d29 commit 91efe77
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions compose/django/uwsgi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

#
# VERSION 0.7
# DOCKER-VERSION 23.0.0
# VERSION 0.8
# DOCKER-VERSION 25.0.0
# AUTHOR: Paolo Cozzi <[email protected]>
# DESCRIPTION: A django container working on django 4.1 on python 3.11
# TO_BUILD: docker build --rm -t django_uwsgi -f Dockerfile ..
# TO_RUN: docker run -d -P django_uwsgi
# TO_TAG: docker tag django_uwsgi:latest django_uwsgi:0.7
# TO_TAG: docker tag django_uwsgi:latest django_uwsgi:0.8
#

###############################################################################
Expand All @@ -18,7 +18,7 @@
ARG APP_NAME=mysite
ARG APP_PATH=/opt/$APP_NAME
ARG PYTHON_VERSION=3.11
ARG POETRY_VERSION=1.3.2
ARG POETRY_VERSION=1.7.1

FROM python:${PYTHON_VERSION}

Expand All @@ -44,7 +44,7 @@ ENV \
POETRY_NO_INTERACTION=1

# Install Poetry - require $POETRY_VERSION & $POETRY_HOME environment variables
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python
RUN curl -sSL https://install.python-poetry.org | python
ENV PATH="$POETRY_HOME/bin:$PATH"

# CREATE APP_PATH
Expand Down

0 comments on commit 91efe77

Please sign in to comment.