This commit is contained in:
parent
bdeccf8e23
commit
b3db6140a4
|
@ -3,8 +3,6 @@ FROM python:3.12-slim
|
||||||
|
|
||||||
# Set up uv
|
# Set up uv
|
||||||
ENV VIRTUAL_ENV=/usr/local
|
ENV VIRTUAL_ENV=/usr/local
|
||||||
ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh
|
|
||||||
RUN /install.sh && rm /install.sh
|
|
||||||
|
|
||||||
# Set the working directory in the container to /app
|
# Set the working directory in the container to /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
@ -12,8 +10,9 @@ WORKDIR /app
|
||||||
# Add the current directory contents into the container at /app
|
# Add the current directory contents into the container at /app
|
||||||
ADD . /app
|
ADD . /app
|
||||||
|
|
||||||
RUN /root/.cargo/bin/uv pip install --no-cache -r requirements.txt
|
RUN pip install uv
|
||||||
RUN /root/.cargo/bin/uv pip install -e .
|
RUN uv pip install --no-cache -r requirements.txt
|
||||||
|
RUN uv pip install -e .
|
||||||
|
|
||||||
# Make port 80 available to the world outside this container
|
# Make port 80 available to the world outside this container
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
Loading…
Reference in a new issue