initial setting at 20-Aug-2025

This commit is contained in:
2025-08-20 19:15:19 +09:00
parent eab529bd3b
commit 1ba305641e
149 changed files with 170449 additions and 1802 deletions

View File

@ -4,11 +4,19 @@ FROM python:3.11-slim
RUN apt-get update && apt-get install -y \
cups \
cups-client \
cups-bsd \
gcc \
libcups2-dev \
python3-dev \
&& rm -rf /var/lib/apt/lists/*
RUN echo 'Listen 0.0.0.0:631' >> /etc/cups/cupsd.conf && \
echo 'Listen /var/run/cups/cups.sock' >> /etc/cups/cupsd.conf && \
echo 'LogLevel debug' >> /etc/cups/cupsd.conf && \
echo 'MaxLogSize 0' >> /etc/cups/cupsd.conf && \
echo 'ServerAlias *' >> /etc/cups/cupsd.conf && \
echo 'DefaultEncryption Never' >> /etc/cups/cupsd.conf
WORKDIR /app
COPY requirements.txt .
@ -16,5 +24,6 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY ./app .
CMD ["python", "main.py"]
COPY startup.sh /
RUN chmod +x /startup.sh