Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -10
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM python:3.
|
| 2 |
RUN useradd -m -u 1000 user
|
| 3 |
USER user
|
| 4 |
ENV HOME=/home/user \
|
|
@@ -7,13 +7,5 @@ WORKDIR $HOME/app
|
|
| 7 |
COPY --chown=user . $HOME/app
|
| 8 |
COPY ./requirements.txt ~/app/requirements.txt
|
| 9 |
RUN pip install -r requirements.txt
|
| 10 |
-
COPY ./.chainlit/download_offre_formation.txt ~/app/download_note_sectorielle.txt
|
| 11 |
-
COPY ./.chainlit/download_QA_emplois.txt ~/app/download_fiche_synoptique.txt
|
| 12 |
-
COPY ./.chainlit/download_emplois.txt ~/app/download_fiche_activite.txt
|
| 13 |
-
COPY ./.chainlit/download_emplois.txt ~/app/download_fiche_competence.txt
|
| 14 |
-
COPY ./.chainlit/download_emplois.txt ~/app/download_module_formation.txt
|
| 15 |
-
COPY ./.chainlit/download_emplois.txt ~/app/download_referentiel_evaluation.txt
|
| 16 |
-
COPY ./.chainlit/download_emplois.txt ~/app/download_matrice_coherence.txt
|
| 17 |
-
COPY ./.chainlit/download_emplois.txt ~/app/download_referentiel.txt
|
| 18 |
COPY . .
|
| 19 |
-
CMD ["chainlit", "run", "app.py", "
|
|
|
|
| 1 |
+
FROM python:3.11
|
| 2 |
RUN useradd -m -u 1000 user
|
| 3 |
USER user
|
| 4 |
ENV HOME=/home/user \
|
|
|
|
| 7 |
COPY --chown=user . $HOME/app
|
| 8 |
COPY ./requirements.txt ~/app/requirements.txt
|
| 9 |
RUN pip install -r requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
COPY . .
|
| 11 |
+
CMD ["chainlit", "run", "app.py", "--port", "7860", "-h"]
|