Skip to content

Commit

Permalink
Rework dev container #1594
Browse files Browse the repository at this point in the history
  • Loading branch information
dennissiemensma committed Jun 10, 2024
1 parent 8945141 commit b9afabd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions provisioning/container/Containerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ARG DOCS_PYTHON_VERSION="3.12"
FROM python:${APP_PYTHON_VERSION}-alpine AS local-dsmrreader-dev
WORKDIR /app
ENV PYTHONUNBUFFERED=1
ENV POETRY_VIRTUALENVS_IN_PROJECT=false
RUN apk add --update \
build-base \
gcc \
Expand All @@ -19,11 +20,8 @@ RUN apk add --update \
openjpeg \
mariadb-dev \
postgresql-client
ENV POETRY_VIRTUALENVS_IN_PROJECT=false
#COPY ./src/pyproject.toml ./src/poetry.lock /app/
COPY ./src/pyproject.toml /app/
COPY ./src/pyproject.toml ./src/poetry.lock /app/
RUN pip install poetry
RUN poetry self add poetry-plugin-export
RUN poetry install --no-root --with dev
EXPOSE 8000
ENTRYPOINT poetry run python manage.py runserver 0.0.0.0:8000
Expand Down

0 comments on commit b9afabd

Please sign in to comment.