TIL minimal means minimal.

This commit is contained in:
Roxedus committed 2019-01-19 18:02:17 +00:00
1 parent 942727d80c
commit 729d072a29
1 file changed
+8 -2
+8 -2
View File
@@ -4,10 +4,16 @@ LABEL maintainer="Roxedus"
COPY / /app
RUN python3 -m pip install -r /app/requirements.txt
RUN \
apk add --no-cache git && \
python3 -m pip install -r /app/requirements.txt && \
chown -R abc:abc \
/config \
/app
WORKDIR /app
CMD python3 /app/bot.py
CMD ln -sf /app/data /config && python3 /app/bot.py
VOLUME /config