FROM python:alpine WORKDIR /app COPY . . RUN pip install --no-cache-dir --requirement requirements.txt RUN addgroup -g 9999 lilia EXPOSE 8765 2828/udp USER nobody:lilia ENTRYPOINT ["python", "-u", "server.py"]