您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627
  1. FROM python:3.9-slim
  2. RUN useradd --create-home --shell /bin/bash kosmorro
  3. WORKDIR /home/kosmorro
  4. ENV PATH="/home/kosmorro:${PATH}"
  5. RUN python -m pip install --upgrade pip
  6. RUN pip install pipenv
  7. COPY Pipfile.lock .
  8. RUN pipenv sync && pipenv run pip freeze > requirements.txt
  9. RUN pip uninstall pipenv -y
  10. RUN pip install -r requirements.txt
  11. COPY kosmorrolib/ kosmorrolib/
  12. COPY kosmorro .
  13. USER kosmorro
  14. CMD ["bash"]