Commit d546ce01 authored by echel0n's avatar echel0n

Refactored Dockerfile

parent a37348c6
FROM python:3.7-alpine3.9
FROM python:3.8-alpine3.12
MAINTAINER echel0n <[email protected]>
ARG SOURCE_COMMIT
ENV SOURCE_COMMIT $SOURCE_COMMIT
ENV PYTHONIOENCODING="UTF-8"
ENV TZ 'Canada/Pacific'
ENV WEB_ROOT ''
#RUN locale-gen en_US.UTF-8
#ENV LANG en_US.UTF-8
#ENV LANGUAGE en_US:en
#ENV LC_ALL en_US.UTF-8
COPY . /opt/sickrage/
......@@ -21,4 +15,5 @@ RUN pip install -r /opt/sickrage/requirements.txt
EXPOSE 8081
VOLUME /config /downloads /tv /anime
ENTRYPOINT python /opt/sickrage/SiCKRAGE.py --nolaunch --web_root ${WEB_ROOT} --datadir /config
\ No newline at end of file
ENTRYPOINT ["python", "/opt/sickrage/SiCKRAGE.py"]
CMD ["--nolaunch", "--datadir=/config"]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment