File size: 355 Bytes
46a6ee3
 
92f446b
46a6ee3
 
92f446b
46a6ee3
 
92f446b
46a6ee3
 
92f446b
46a6ee3
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Use an official Python runtime as a parent image
FROM python:3.9-slim

# Set the working directory in the container
WORKDIR /usr/src/app

# Copy the script into the container at /usr/src/app
COPY script.sh .

# Make the script executable
RUN chmod +x script.sh

# Expose the port the server will run on
EXPOSE 7860

# Run the script
CMD ["./script.sh"]