Optimize image

This commit is contained in:
Max Winterstein
2021-12-07 12:56:43 +01:00
parent ae8ba286b3
commit 3a26d0c36a
9 changed files with 69 additions and 60 deletions

View File

@@ -14,7 +14,4 @@ RUN mkdir /app && tar xvfz /src.tar.gz -C /app --strip-components=1
WORKDIR /app
RUN poetry update && poetry install --no-dev
COPY run.sh /
RUN chmod a+x /run.sh
ENV DYNACONF_DATA_DIR=/data
CMD [ "/run.sh" ]
ADD rootfs /