Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +0 -6
Dockerfile
CHANGED
|
@@ -42,11 +42,5 @@ COPY --chown=user docker_start.sh ./
|
|
| 42 |
RUN mkdir -p ./data
|
| 43 |
RUN chown -R user ./data
|
| 44 |
|
| 45 |
-
# Add a debugging statement to check if the HUGGINGFACE_TOKEN is set (during the build process, which is not the usual place for checking this)
|
| 46 |
-
# This is for demonstration purposes only; do not print the actual HUGGINGFACE_TOKEN value.
|
| 47 |
-
RUN echo "Checking if HUGGINGFACE_TOKEN is set during the build..." && \
|
| 48 |
-
if [ -z "${HUGGINGFACE_TOKEN}" ]; then echo "HUGGINGFACE_TOKEN is not set during the build."; else echo "HUGGINGFACE_TOKEN is set during the build."; fi
|
| 49 |
-
|
| 50 |
-
|
| 51 |
EXPOSE 5432
|
| 52 |
CMD ["bash", "docker_start.sh"]
|
|
|
|
| 42 |
RUN mkdir -p ./data
|
| 43 |
RUN chown -R user ./data
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
EXPOSE 5432
|
| 46 |
CMD ["bash", "docker_start.sh"]
|