File size: 530 Bytes
cd57b1c
 
 
 
 
 
 
 
 
 
 
f76de01
 
 
 
cd57b1c
4d65861
 
cd57b1c
4d65861
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Use Ubuntu 22.04 as the base image
FROM ubuntu:22.04

# Install Python 3 and pip
RUN apt-get update && \
    apt-get install -y python3 python3-pip && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

# Upgrade pip and install Python packages
RUN pip3 install --upgrade pip
RUN pip3 install transformers
RUN pip3 install "fschat[model_worker,webui]"
RUN pip install accelerate pandas numpy


# Add the entrypoint script
ADD entrypoint.sh /entrypoint.sh

# Set the script as the entry point
ENTRYPOINT ["/entrypoint.sh"]