FROM python:alpine3.7 VOLUME /data WORKDIR /usr/src/app COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt COPY . . WORKDIR /data CMD [ "python", "/usr/src/app/partybot-pnut.py", "-d", "-c", "config.yaml" ]