File size: 443 Bytes
0ce60a9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim

# Install python
RUN apt update
RUN apt install -y git wget build-essential python3.11 python3.11-venv python3.11-dev

# Install dependencies for controlnet preprocessors
RUN apt install -y libglib2.0-0 libgl1

# Copy swarm's files into the docker container
COPY . .

# Send the port forward
EXPOSE 7801

# Set the run file to the launch script
ENTRYPOINT ["bash", "launchtools/docker.sh"]