update
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -55,17 +55,17 @@ RUN mkdir -p /home/appuser/.cache/transformers /home/appuser/tmp /home/appuser/.
|
|
| 55 |
|
| 56 |
RUN chmod -R 777 /tmp
|
| 57 |
|
|
|
|
|
|
|
|
|
|
| 58 |
# Copy application code
|
| 59 |
COPY --chown=appuser demo demo
|
| 60 |
COPY --chown=appuser unidisc unidisc
|
| 61 |
COPY --chown=appuser models models
|
| 62 |
COPY --chown=appuser configs configs
|
| 63 |
COPY --chown=appuser third_party third_party
|
| 64 |
-
# COPY --chown=appuser ckpts ckpts
|
| 65 |
COPY --chown=appuser ./__* ./
|
| 66 |
COPY --chown=appuser ./*.py ./
|
| 67 |
-
RUN mkdir -p ./ckpts/unidisc_interleaved
|
| 68 |
-
RUN HF_HUB_ENABLE_HF_TRANSFER=1 uvx --with hf_transfer --from huggingface_hub huggingface-cli download aswerdlow/unidisc_interleaved --local-dir ./ckpts/unidisc_interleaved
|
| 69 |
|
| 70 |
# Switch to non-root user
|
| 71 |
USER appuser
|
|
|
|
| 55 |
|
| 56 |
RUN chmod -R 777 /tmp
|
| 57 |
|
| 58 |
+
RUN mkdir -p ./ckpts/unidisc_interleaved
|
| 59 |
+
RUN HF_HUB_ENABLE_HF_TRANSFER=1 uvx --with hf_transfer --from huggingface_hub huggingface-cli download aswerdlow/unidisc_interleaved --local-dir ./ckpts/unidisc_interleaved
|
| 60 |
+
|
| 61 |
# Copy application code
|
| 62 |
COPY --chown=appuser demo demo
|
| 63 |
COPY --chown=appuser unidisc unidisc
|
| 64 |
COPY --chown=appuser models models
|
| 65 |
COPY --chown=appuser configs configs
|
| 66 |
COPY --chown=appuser third_party third_party
|
|
|
|
| 67 |
COPY --chown=appuser ./__* ./
|
| 68 |
COPY --chown=appuser ./*.py ./
|
|
|
|
|
|
|
| 69 |
|
| 70 |
# Switch to non-root user
|
| 71 |
USER appuser
|