Dockerfile 259 B

123456789
  1. FROM python:3.7-slim
  2. RUN useradd -u 1000 -ms /bin/bash python
  3. WORKDIR /home/python
  4. USER python
  5. RUN python -m venv /home/python/venv
  6. ENV PATH="/home/python/venv/bin:$PATH"
  7. COPY min_req.txt req.txt
  8. RUN pip install -r req.txt
  9. # CMD ["python", "tcp-proxy.py"]