tiangolo / full-stack-fastapi-template

Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Poetry URL seem to be not working inside the Dockerfile for backend and celery

jpmc216 opened this issue · comments

=> ERROR [backend:latest 3/7] RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && 0.5s
=> CANCELED [celeryworker:latest 1/10] FROM docker.io/library/python:3.7@sha256:d98fd1fa8fd1756bfe883b5004a60cfc428a1ce6e575652b771b66c8db222478 0.4s

Got it working by replacing this URL (https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py) with https://install.python-poetry.org in the dockerfile.

This worked for me as well. Thank you for posting.

PRs #524 and #529 have the corrected files if you want to take a look.

Thanks! This was solved in #480 🎉

And thanks @willingc! 🌮 🌮

Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.