1 2 3 4 5 6 7 8 9 10 11 12 13 14
FROM python:3.8 WORKDIR /app RUN mkdir res COPY . . RUN pip install --no-cache-dir -r requirements.txt # Passive ports EXPOSE 2558 2559 EXPOSE 20 21 CMD [ "python", "server.py" ]