Spaces:
Build error
Build error
Commit
·
446d56e
1
Parent(s):
20407dc
Delete Dockerfile
Browse files- Dockerfile +0 -38
Dockerfile
DELETED
|
@@ -1,38 +0,0 @@
|
|
| 1 |
-
FROM debian:stable
|
| 2 |
-
|
| 3 |
-
# Install system packages
|
| 4 |
-
RUN apt update && apt install -y git pip
|
| 5 |
-
|
| 6 |
-
# Create non-root user
|
| 7 |
-
RUN useradd -m -d /bark bark
|
| 8 |
-
|
| 9 |
-
# Run as new user
|
| 10 |
-
USER bark
|
| 11 |
-
WORKDIR /bark
|
| 12 |
-
|
| 13 |
-
# Clone git repo
|
| 14 |
-
RUN git clone https://github.com/C0untFloyd/bark-gui
|
| 15 |
-
|
| 16 |
-
# Switch to git directory
|
| 17 |
-
WORKDIR /bark/bark-gui
|
| 18 |
-
|
| 19 |
-
# Append pip bin path to PATH
|
| 20 |
-
ENV PATH=$PATH:/bark/.local/bin
|
| 21 |
-
|
| 22 |
-
# Install dependancies
|
| 23 |
-
RUN pip install .
|
| 24 |
-
RUN pip install -r requirements.txt
|
| 25 |
-
|
| 26 |
-
# List on all addresses, since we are in a container.
|
| 27 |
-
RUN sed -i "s/server_name: ''/server_name: 0.0.0.0/g" ./config.yaml
|
| 28 |
-
|
| 29 |
-
# Suggested volumes
|
| 30 |
-
VOLUME /bark/bark-gui/assets/prompts/custom
|
| 31 |
-
VOLUME /bark/bark-gui/models
|
| 32 |
-
VOLUME /bark/.cache/huggingface/hub
|
| 33 |
-
|
| 34 |
-
# Default port for web-ui
|
| 35 |
-
EXPOSE 7860/tcp
|
| 36 |
-
|
| 37 |
-
# Start script
|
| 38 |
-
CMD python3 app.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|