Delete Dockerfile
Browse files- Dockerfile +0 -31
Dockerfile
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
FROM python:3.10-slim
|
2 |
-
|
3 |
-
# Install system dependencies for WeasyPrint
|
4 |
-
RUN apt-get update && apt-get install -y \
|
5 |
-
git git-lfs curl libpango-1.0-0 libpangoft2-1.0-0 && \
|
6 |
-
rm -rf /var/lib/apt/lists/*
|
7 |
-
|
8 |
-
# Install Node.js for Streamlit
|
9 |
-
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
10 |
-
apt-get install -y nodejs && \
|
11 |
-
rm -rf /var/lib/apt/lists/*
|
12 |
-
|
13 |
-
# Create user
|
14 |
-
RUN useradd -m -u 1000 user
|
15 |
-
|
16 |
-
# Set working directory
|
17 |
-
WORKDIR /home/user/app
|
18 |
-
USER user
|
19 |
-
|
20 |
-
# Copy and install requirements
|
21 |
-
COPY --chown=user:user requirements.txt .
|
22 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
23 |
-
|
24 |
-
# Copy application files
|
25 |
-
COPY --chown=user:user . .
|
26 |
-
|
27 |
-
# Expose port
|
28 |
-
EXPOSE 7860
|
29 |
-
|
30 |
-
# Run Streamlit
|
31 |
-
CMD ["streamlit", "run", "app.py", "--server.port", "7860", "--server.address", "0.0.0.0"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|