Updated dockerfile with renamed env variable (YTSM_DATA_DIR).

This commit is contained in:
Tiberiu Chibici 2018-12-30 00:16:32 +02:00
parent 0fce462818
commit 700fe2add0

View File

@ -10,13 +10,14 @@ COPY ./requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
ENV YTSM_DEBUG='False'
ENV YTSM_DATA_PATH='/usr/src/ytsm/data'
ENV YTSM_DATA_DIR='/usr/src/ytsm/data'
VOLUME /usr/src/ytsm/config
VOLUME /usr/src/ytsm/data
VOLUME /usr/src/ytsm/download
COPY ./app/ ./
COPY ./config/ ./
COPY ./docker/init.sh ./
EXPOSE 8000