Skip to content

Commit

Permalink
add chmod on tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
achauve committed Sep 11, 2023
1 parent f2394e5 commit 0ed933a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libs/indice_pollution/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ ARG PYTHON_VERSION=3.11.3-slim@sha256:7b866f12347fbfccbb73284d9c04bbd67b5f9cca8b
FROM python:$PYTHON_VERSION AS base
RUN pip install poetry
WORKDIR /code
RUN apt update && apt install -y --no-install-recommends gcc libc6-dev \
&& rm -rf /var/lib/apt/lists/*


########
# Install dependencies only when needeed
FROM base AS installer

RUN chmod 1777 /tmp
RUN apt-get update && apt-get install -y --no-install-recommends gcc libc6-dev \
&& rm -rf /var/lib/apt/lists/*
ADD pyproject.toml poetry.toml poetry.lock ./
RUN poetry install --without dev

Expand Down

0 comments on commit 0ed933a

Please sign in to comment.