Skip to content

Commit

Permalink
fix: dockerfile remove required
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiogra committed Jul 11, 2023
1 parent 9945a13 commit 3a1603f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ RUN chmod +x prepare_samples.sh
EXPOSE 7860

HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
RUN --mount=type=secret,id=PREPARE_SAMPLES,mode=0444,required=true ./prepare_samples.sh
RUN --mount=type=secret,id=PREPARE_SAMPLES,mode=0444 ./prepare_samples.sh

ENTRYPOINT ["streamlit", "run", "app/header.py", "--server.port=7860", "--server.address=0.0.0.0"]

0 comments on commit 3a1603f

Please sign in to comment.