mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
cleanup
This commit is contained in:
parent
6d4560a0f4
commit
50077bce59
1 changed files with 8 additions and 7 deletions
|
@ -6,12 +6,13 @@ RUN npm install
|
|||
COPY ./frontend/ .
|
||||
RUN npm run build
|
||||
|
||||
# run
|
||||
|
||||
FROM python:3.9-slim-buster
|
||||
|
||||
ENV PRODUCTION true
|
||||
ENV POETRY_VERSION 1.1.6
|
||||
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
gcc g++ \
|
||||
curl \
|
||||
|
@ -29,17 +30,17 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
&& apt-get remove -y curl apt-transport-https debian-keyring g++ gnupg gnupg2 gnupg1
|
||||
|
||||
|
||||
RUN pip install --no-cache-dir "poetry==$POETRY_VERSION" \
|
||||
&& poetry config virtualenvs.create false
|
||||
|
||||
#! Future
|
||||
# pip install --no-cache-dir "psycopg2-binary==2.8.6"
|
||||
RUN pip install --no-cache-dir "poetry==$POETRY_VERSION"
|
||||
|
||||
#! Future
|
||||
# pip install --no-cache-dir "psycopg2-binary==2.8.6"
|
||||
|
||||
# project dependencies
|
||||
WORKDIR /app
|
||||
COPY pyproject.toml /app/
|
||||
COPY ./mealie /app/mealie
|
||||
RUN poetry install --no-dev
|
||||
RUN poetry config virtualenvs.create false \
|
||||
&& poetry install --no-dev
|
||||
|
||||
#! Future
|
||||
# COPY ./alembic /app
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue