20 lines
439 B
Docker
20 lines
439 B
Docker
FROM python:3.11
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
ENV TZ=Asia/Seoul
|
|
|
|
ADD /workspace /opt/workspace
|
|
WORKDIR /opt/workspace
|
|
|
|
ADD https://astral.sh/uv/install.sh /uv-installer.sh
|
|
RUN sh /uv-installer.sh && rm /uv-installer.sh
|
|
ENV PATH="/root/.local/bin/:$PATH"
|
|
RUN uv self update
|
|
|
|
COPY requirements.txt .
|
|
RUN uv pip install --no-cache-dir -r requirements.txt --system
|
|
|
|
#CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
|
|
|
|