Commit 25eb3fbe authored by nimrod's avatar nimrod
Browse files

A little cleanup for the Dockerfile.

parent 7aa9f613
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5,14 +5,14 @@ FROM registry.hub.docker.com/library/python:3.6-alpine3.13
COPY --from=supersonic /usr/local/bin/supersonic /usr/local/bin/
# hadolint ignore=DL3013
RUN pip install --no-cache-dir pipenv
COPY Pipfile* /poquita/
WORKDIR /poquita
COPY Pipfile* ./
# hadolint ignore=DL3018
RUN apk add --update --no-cache --virtual .lxml-build build-base libxslt-dev && \
    pipenv install --deploy --system && \
    apk del .lxml-build && \
    apk add --update --no-cache --virtual .lxml-runtime libxml2 libxslt
RUN install -d -m 777 -o root -g root db Podcasts
RUN mkdir --mode 777 db Podcasts
COPY --chown=root:root crontab ./
COPY --chown=root:root poca.xml ./
VOLUME db Podcasts