FROM python:3.11-alpine

LABEL maintainer="HawkEye Print <https://yingyandayin.com>"
LABEL description="鹰眼打印 (HawkEye Print) 家中远程打印网关 (群晖/飞牛fnOS/威联通 NAS 24小时无人值守版)"

WORKDIR /app

COPY lasersharp_gateway.py /app/lasersharp_gateway.py

EXPOSE 19180

CMD ["python3", "/app/lasersharp_gateway.py", "--headless", "--web-port", "19180"]
