Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
|
@@ -78,21 +78,21 @@ RUN --mount=type=secret,id=GITHUB_TOKEN,mode=0444,required=true \
|
|
| 78 |
|
| 79 |
|
| 80 |
# Copy files into the container as the non-root user
|
| 81 |
-
COPY --chown=user:user
|
| 82 |
-
COPY --chown=user:user
|
| 83 |
COPY --chown=user:user appsettings.json /home/user/code/app/appsettings.json
|
| 84 |
COPY --chown=user:user index.html /home/user/code/app/wwwroot/index.html
|
| 85 |
COPY --chown=user:user append_run.sh /home/user/code/models/append_run.sh
|
| 86 |
-
COPY --chown=user:user expect-build-
|
| 87 |
|
| 88 |
# Set permissions for scripts as the non-root user
|
| 89 |
RUN chmod +x /home/user/code/models/append_run.sh && \
|
| 90 |
chmod +x /home/user/code/models/expect-build-qwen-3
|
| 91 |
|
| 92 |
-
# Set the working directory for the build-
|
| 93 |
WORKDIR /home/user/code/models
|
| 94 |
|
| 95 |
-
# Run the build-
|
| 96 |
RUN ./expect-build-qwen-3
|
| 97 |
|
| 98 |
# Expose port 7860 for Hugging Face Spaces
|
|
|
|
| 78 |
|
| 79 |
|
| 80 |
# Copy files into the container as the non-root user
|
| 81 |
+
COPY --chown=user:user system_prompt_qwen_3 /home/user/code/models/system_prompt_qwen_3
|
| 82 |
+
COPY --chown=user:user system_prompt_qwen_3 /home/user/code/models/system_prompt_qwen_3_run
|
| 83 |
COPY --chown=user:user appsettings.json /home/user/code/app/appsettings.json
|
| 84 |
COPY --chown=user:user index.html /home/user/code/app/wwwroot/index.html
|
| 85 |
COPY --chown=user:user append_run.sh /home/user/code/models/append_run.sh
|
| 86 |
+
COPY --chown=user:user expect-build-qwen-3 /home/user/code/models/expect-build-qwen-3
|
| 87 |
|
| 88 |
# Set permissions for scripts as the non-root user
|
| 89 |
RUN chmod +x /home/user/code/models/append_run.sh && \
|
| 90 |
chmod +x /home/user/code/models/expect-build-qwen-3
|
| 91 |
|
| 92 |
+
# Set the working directory for the build-qwen-3 script
|
| 93 |
WORKDIR /home/user/code/models
|
| 94 |
|
| 95 |
+
# Run the build-qwen-3 script
|
| 96 |
RUN ./expect-build-qwen-3
|
| 97 |
|
| 98 |
# Expose port 7860 for Hugging Face Spaces
|