Skip to content

Commit

Permalink
add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
linjungz committed Jun 12, 2023
1 parent 0f0ce22 commit 7670bc4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Use an official Python runtime as a parent image
FROM python:3.10-slim-buster

# Set the working directory to /app
WORKDIR /app

# Copy the current directory contents into the container at /app
COPY . /app
COPY ./data/* /app/data/

# Install any needed packages specified in requirements.txt
RUN pip install -r requirements.txt

# Expose the port that the Gradio app will run on
EXPOSE 7860

# Run the command to start the Gradio app
CMD ["python", "chat_web.py"]

0 comments on commit 7670bc4

Please sign in to comment.