You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM python:3.9-slim-buster AS base
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PIP_NO_CACHE_DIR=off \
VIRTUAL_ENV=/venv \
PATH="/venv/bin:${PATH}"FROM base AS build
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends curl; \
rm -rf /var/lib/apt/lists/*; \
curl -sSf https://rye-up.com/get | bash; \
python -m venv /venv
COPY ./requirements.lock ./requirements.lock
COPY ./pyproject.toml ./pyproject.toml
COPY ./src /src
RUN rye build --wheel; \
python -m pip install --no-deps dist/*.whl
FROM base
COPY --from=build /venv /venv
CMD ["python", "-OOm", "application"]
but curl command gives me an error:
13.17 This path can be changed by exporting the RYE_HOME environment variable.
13.17
13.17 Details:
13.17 Rye Version: 0.32.0
13.17 Platform: linux (x86_64)
13.17
13.17 error: IO error: not a terminal
13.17
13.17 Caused by:
13.17 not a terminal
this installation method im take from this comment and not sure its the right one. are there any other ways to install rye? if no, why im getting an error?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
im trying build image with like this dockerfile:
but
curl
command gives me an error:this installation method im take from this comment and not sure its the right one. are there any other ways to install rye? if no, why im getting an error?
Beta Was this translation helpful? Give feedback.
All reactions