mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-01-06 09:01:21 -05:00
v0.2.0 Updates (#130)
* migration redesign init * new color picker * changelog * added UI language selection * fix layout issue on recipe editor * remove git as dependency * added UI editor for original URL * CI/CD Tests * test: fixed migration routes * test todos * bug/added docker volume * chowdow test data * partial image recipe image testing * added card section card * settings form * homepage cetegory ui * frontend category placeholder * fixed broken scheduler * remove old files * removed temp test Co-authored-by: Hayden <hay-kot@pm.me>
This commit is contained in:
37
Dockerfile
37
Dockerfile
@@ -7,7 +7,7 @@ RUN npm run build
|
||||
|
||||
FROM python:3.8-alpine
|
||||
|
||||
RUN apk add --no-cache git curl libxml2-dev libxslt-dev libxml2
|
||||
RUN apk add --no-cache libxml2-dev libxslt-dev libxml2
|
||||
ENV ENV prod
|
||||
EXPOSE 80
|
||||
WORKDIR /app
|
||||
@@ -15,6 +15,7 @@ WORKDIR /app
|
||||
COPY ./pyproject.toml /app/
|
||||
|
||||
RUN apk add --update --no-cache --virtual .build-deps \
|
||||
curl \
|
||||
g++ \
|
||||
py-lxml \
|
||||
python3-dev \
|
||||
@@ -34,35 +35,5 @@ COPY --from=build-stage /app/dist /app/dist
|
||||
RUN rm -rf /app/test /app/.temp
|
||||
|
||||
|
||||
|
||||
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80"]
|
||||
|
||||
# ---------------------------------- #
|
||||
# Old Docker File
|
||||
# ---------------------------------- #
|
||||
|
||||
# FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8-slim
|
||||
# FROM mrnr91/uvicorn-gunicorn-fastapi:python3.8
|
||||
|
||||
|
||||
# WORKDIR /app
|
||||
|
||||
# RUN apt-get update -y && \
|
||||
# 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/
|
||||
|
||||
# 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" ]
|
||||
VOLUME [ "/app_data/" ]
|
||||
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80"]
|
||||
Reference in New Issue
Block a user