LangBot / Dockerfile
gaoqilan's picture
Update Dockerfile
6ab045b verified
raw
history blame contribute delete
402 Bytes
FROM python:3.10
WORKDIR /app
# Create temp directory with proper permissions
RUN mkdir -p /app/temp && chmod 777 /app/temp
# Clean and clone repository
RUN rm -rf * && git clone https://github.com/RockChinQ/LangBot .
# Install dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt
# Set permissions
RUN chmod -R 777 /app
EXPOSE 5300
EXPOSE 2280-2290
CMD ["python", "main.py"]