Skip to content

Commit

Permalink
personal preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
csokun committed Jul 18, 2024
1 parent e9f52a4 commit df0426b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ RUN curl -fsL -o /usr/local/lib/python3.10/dist-packages/gradio/frpc_linux_amd64

WORKDIR /app
COPY entrypoint.sh /app

COPY . /app

WORKDIR /content
USER user

COPY . /content/app

CMD [ "sh", "-c", "/content/entrypoint.sh ${CMDARGS}" ]
CMD [ "sh", "-c", "/app/entrypoint.sh ${CMDARGS}" ]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
- default_save_metadata_to_images=True
volumes:
- ./data:/app/data
- ./models:/app/models # Once you import files, you don't need to mount again.
- ../models:/app/models # Once you import files, you don't need to mount again.
- ./outputs:/app/outputs
tty: true
deploy:
Expand Down

0 comments on commit df0426b

Please sign in to comment.