Bug fixes (#81)

* fix: url remains after succesful import

* docs: changelog + update todos

* arm image

* arm compose

* compose updates

* update poetry

* arm support

Co-authored-by: Hayden <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-01-16 15:48:19 -09:00
committed by GitHub
parent 53f15b17ea
commit 5b15ffdf5f
9 changed files with 175 additions and 62 deletions

View File

@@ -14,11 +14,17 @@ WORKDIR /app
RUN apt-get update -y && \
apt-get install -y python-pip python-dev git --no-install-recommends && \
rm -rf /var/lib/apt/lists/* && \
pip install -r requirements.txt
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && \
cd /usr/local/bin && \
ln -s /opt/poetry/bin/poetry && \
poetry config virtualenvs.create false
COPY ./pyproject.toml ./app/poetry.lock* /app/
COPY ./mealie /app
RUN poetry install --no-root -no-dev
COPY --from=build-stage /app/dist /app/dist
RUN rm -rf /app/test /app/temp
RUN rm -rf /app/test /app/.temp
ENV ENV prod
ENV APP_MODULE "app:app"