Dockerfile 433 B

1234567891011121314151617
  1. FROM lcnetdev/scriptshifter-base:latest
  2. ARG WORKROOT "/usr/local/scriptshifter/src"
  3. # Copy core application files.
  4. WORKDIR ${WORKROOT}
  5. COPY VERSION entrypoint.sh sscli uwsgi.ini wsgi.py ./
  6. COPY scriptshifter ./scriptshifter/
  7. COPY tests ./tests/
  8. COPY requirements.txt ./
  9. RUN pip install --no-cache-dir -r requirements.txt
  10. RUN chmod +x ./entrypoint.sh
  11. #RUN chown -R www:www ${WORKROOT} .
  12. EXPOSE 8000
  13. ENTRYPOINT ["./entrypoint.sh"]