Spaces:
Sleeping
Sleeping
github-actions commited on
Commit ·
ec660f5
1
Parent(s): 419cbae
Deploy 8e6feefc0ce022caa72e46ed2b7a8fda9d650a44
Browse files- Dockerfile +1 -31
- VERSION.txt +1 -0
Dockerfile
CHANGED
|
@@ -1,31 +1 @@
|
|
| 1 |
-
FROM
|
| 2 |
-
|
| 3 |
-
ENV PYTHONDONTWRITEBYTECODE=1 \
|
| 4 |
-
PYTHONUNBUFFERED=1 \
|
| 5 |
-
PIP_NO_CACHE_DIR=1
|
| 6 |
-
|
| 7 |
-
WORKDIR /app
|
| 8 |
-
|
| 9 |
-
# Nginx pour reverse proxy (un seul port public: 7860)
|
| 10 |
-
RUN apt-get update \
|
| 11 |
-
&& apt-get install -y --no-install-recommends nginx \
|
| 12 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 13 |
-
|
| 14 |
-
# Poetry
|
| 15 |
-
RUN pip install --no-cache-dir poetry==2.0.0
|
| 16 |
-
|
| 17 |
-
COPY pyproject.toml poetry.lock* README.md /app/
|
| 18 |
-
|
| 19 |
-
RUN poetry config virtualenvs.create false \
|
| 20 |
-
&& poetry install --no-interaction --no-ansi --only main --no-root
|
| 21 |
-
|
| 22 |
-
COPY . /app
|
| 23 |
-
|
| 24 |
-
# Nginx conf + start script
|
| 25 |
-
COPY nginx.conf /etc/nginx/nginx.conf
|
| 26 |
-
COPY start.sh /app/start.sh
|
| 27 |
-
RUN chmod +x /app/start.sh
|
| 28 |
-
|
| 29 |
-
EXPOSE 7860
|
| 30 |
-
|
| 31 |
-
CMD ["/app/start.sh"]
|
|
|
|
| 1 |
+
FROM ghcr.io/gonzalezcourrier34-glitch/projet-technova-partners:8e6feefc0ce022caa72e46ed2b7a8fda9d650a44
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VERSION.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
8e6feefc0ce022caa72e46ed2b7a8fda9d650a44
|