First Commit
Browse files- Dockerfile +21 -0
Dockerfile
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.9-slim
|
| 2 |
+
|
| 3 |
+
# Install git and other dependencies
|
| 4 |
+
RUN apt-get update && apt-get install -y \
|
| 5 |
+
git \
|
| 6 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 7 |
+
|
| 8 |
+
# Clone the repository
|
| 9 |
+
RUN git clone https://github.com/clusterofstars-sg/TinyHackathon.git /app
|
| 10 |
+
|
| 11 |
+
# Set working directory
|
| 12 |
+
WORKDIR /app
|
| 13 |
+
|
| 14 |
+
# Install uv
|
| 15 |
+
RUN pip install uv
|
| 16 |
+
|
| 17 |
+
# Expose port 8001
|
| 18 |
+
EXPOSE 8001
|
| 19 |
+
|
| 20 |
+
# Command to run the application
|
| 21 |
+
CMD ["uv", "run", "tinyhackathon/score_explorer/run.py"]
|