diff --git a/dockerfile b/dockerfile index e1df32c..a5ab295 100644 --- a/dockerfile +++ b/dockerfile @@ -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 \ No newline at end of file