-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⬆️ update poetry in django composed image
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
# | ||
|
||
############################################################################### | ||
|
@@ -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} | ||
|
||
|
@@ -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 | ||
|