Spaces:
Running
Running
Create Dockerfile
Browse files- Dockerfile +14 -0
Dockerfile
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.12-slim
|
| 2 |
+
|
| 3 |
+
RUN apt-get update && \
|
| 4 |
+
apt-get install -y --no-install-recommends curl git && \
|
| 5 |
+
rm -rf /var/lib/apt/lists/*
|
| 6 |
+
|
| 7 |
+
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
| 8 |
+
ENV PATH="/root/.local/bin:${PATH}"
|
| 9 |
+
|
| 10 |
+
WORKDIR /app
|
| 11 |
+
RUN git clone https://github.com/cappuch/humanizer.git
|
| 12 |
+
WORKDIR /app/humanizer
|
| 13 |
+
|
| 14 |
+
CMD ["uv", "run", "app.py"]
|