Skip to content

Rye + Docker #239

May 29, 2023 · 11 comments · 14 replies
Discussion options

You must be logged in to vote

I have written a Dockerfile as follows.

Since rye exports requirements.lock by default, use this file to install the package with pip install.

However, since an error occurs if the file is left as is, I removed unnecessary lines.

WORKDIR /backend
COPY ./requirements.lock /backend/
RUN sed '/-e/d' requirements.lock > requirements.txt
RUN pip install -r requirements.txt

Replies: 11 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@abdulhaq-e
Comment options

@helderco
Comment options

@luisfrodriguezr
Comment options

@ischaojie
Comment options

@astronautas
Comment options

Answer selected by santigandolfo
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SyedUmerHasan
Comment options

Comment options

You must be logged in to vote
1 reply
@zhuxining
Comment options

Comment options

You must be logged in to vote
2 replies
@spookyuser
Comment options

@bluss
Comment options

Comment options

You must be logged in to vote
1 reply
@spookyuser
Comment options

Comment options

You must be logged in to vote
4 replies
@spookyuser
Comment options

@mostthingsweb
Comment options

@spookyuser
Comment options

@spookyuser
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet