Skip to content

Commit

Permalink
Fresh python and poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
xfenix committed Aug 4, 2022
1 parent bf0a166 commit e2b9869
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG USER_UID=2000
ARG USER_GID=$USER_UID
ARG WORKDIR=/srv/www/

FROM python:3.10.5-slim as builder
FROM python:3.10.6-slim as builder
ARG USERNAME
ARG USER_UID
ARG USER_GID
Expand All @@ -16,15 +16,15 @@ COPY pyproject.toml .
COPY . $WORKDIR
RUN apt-get update -y
RUN apt-get install -y enchant-2 hunspell-ru hunspell-es hunspell-de-de hunspell-fr hunspell-pt-pt
RUN pip install --no-cache-dir install "poetry==1.1.13"
RUN pip install --no-cache-dir install "poetry==1.1.14"
RUN poetry config virtualenvs.create false
RUN poetry install
RUN rm poetry.lock
RUN pip uninstall -y poetry
RUN mkdir /data/
RUN chmod 777 /data/

FROM python:3.10.5-slim as runtime
FROM python:3.10.6-slim as runtime
ARG USERNAME
ARG WORKDIR
WORKDIR $WORKDIR
Expand Down

0 comments on commit e2b9869

Please sign in to comment.