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/ .
|
COPY ./frontend/ .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# run
|
|
||||||
FROM python:3.9-slim-buster
|
FROM python:3.9-slim-buster
|
||||||
|
|
||||||
ENV PRODUCTION true
|
ENV PRODUCTION true
|
||||||
ENV POETRY_VERSION 1.1.6
|
ENV POETRY_VERSION 1.1.6
|
||||||
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
gcc g++ \
|
gcc g++ \
|
||||||
curl \
|
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
|
&& 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
|
RUN pip install --no-cache-dir "poetry==$POETRY_VERSION"
|
||||||
# pip install --no-cache-dir "psycopg2-binary==2.8.6"
|
|
||||||
|
#! Future
|
||||||
|
# pip install --no-cache-dir "psycopg2-binary==2.8.6"
|
||||||
|
|
||||||
# project dependencies
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY pyproject.toml /app/
|
COPY pyproject.toml /app/
|
||||||
COPY ./mealie /app/mealie
|
COPY ./mealie /app/mealie
|
||||||
RUN poetry install --no-dev
|
RUN poetry config virtualenvs.create false \
|
||||||
|
&& poetry install --no-dev
|
||||||
|
|
||||||
#! Future
|
#! Future
|
||||||
# COPY ./alembic /app
|
# COPY ./alembic /app
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue