Version Release Final Touches (#84)

* Remove slim

* bug: opacity issues

* bug: startup failure with no database

* ci/cd on dev branch

* formatting

* v0.1.0 documentation

Co-authored-by: Hayden <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-01-17 10:53:42 -09:00
committed by GitHub
parent 6bc7c4ceb0
commit a76f472aa4
50 changed files with 2796 additions and 2704 deletions

View File

@@ -5,21 +5,21 @@ RUN npm install
COPY ./frontend/ .
RUN npm run build
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8-slim
# FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8-slim
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 && \
apt-get install -y python-pip python-dev git curl python3-dev libxml2-dev libxslt1-dev zlib1g-dev --no-install-recommends && \
rm -rf /var/lib/apt/lists/* && \
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 ./pyproject.toml /app/
COPY ./mealie /app
RUN poetry install --no-root --no-dev