diff --git a/Dockerfile b/Dockerfile index 55f6443de..3189e658c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,6 @@ COPY ./pyproject.toml /app/ RUN apk add --update --no-cache --virtual .build-deps \ curl \ g++ \ - py-lxml \ python3-dev \ musl-dev \ gcc \ diff --git a/Dockerfile.arm b/Dockerfile.arm deleted file mode 100644 index 6f35a9284..000000000 --- a/Dockerfile.arm +++ /dev/null @@ -1,33 +0,0 @@ -FROM node:lts-alpine as build-stage -WORKDIR /app -COPY ./frontend/package*.json ./ -RUN npm install -COPY ./frontend/ . -RUN npm run build - -FROM mrnr91/uvicorn-gunicorn-fastapi:python3.8 - - -COPY ./requirements.txt /app/requirements.txt - -WORKDIR /app - -RUN apt-get update -y && \ - apt-get install -y python-pip python-dev git curl --no-install-recommends - -RUN 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 - -ENV ENV prod -ENV APP_MODULE "app:app" - -VOLUME [ "/app/data" ]