-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andres Hernandez Celis (iMetaverse LLC)
committed
Mar 29, 2024
1 parent
ffb2f8d
commit 47bcaa3
Showing
3 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM python:3.8-slim | ||
|
||
ARG GRADIO_SERVER_NAME="0.0.0.0" | ||
ENV GRADIO_SERVER_NAME=${GRADIO_SERVER_NAME} | ||
|
||
ARG GRADIO_SERVER_PORT="80" | ||
ENV GRADIO_SERVER_PORT=${GRADIO_SERVER_PORT} | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y libgl1-mesa-glx libglib2.0-0 && \ | ||
apt-get install -y ffmpeg && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /app | ||
|
||
COPY . /app | ||
|
||
RUN rm -rf /tmp/* | ||
|
||
RUN pip install PytorchWildlife | ||
|
||
EXPOSE 80 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters