Skip to content

Commit

Permalink
Remove OGC Features specific Dockerfile, move changes to "base" Docke…
Browse files Browse the repository at this point in the history
…rfile
  • Loading branch information
recalcitrantsupplant committed Sep 16, 2024
1 parent 0b44603 commit 9f045d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 64 deletions.
14 changes: 4 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,8 @@ ENV VIRTUAL_ENV=${VIRTUAL_ENV} \

RUN apk add --no-cache \
bash \
gcc \
libffi-dev \
musl-dev \
pipx \
python3-dev \
geos \
geos-dev
git

RUN pipx install poetry==${POETRY_VERSION}

Expand All @@ -32,6 +27,7 @@ COPY . .
RUN poetry build
RUN python3 -m venv --system-site-packages ${VIRTUAL_ENV}
RUN ${VIRTUAL_ENV}/bin/pip3 install --no-cache-dir dist/*.whl
RUN ${VIRTUAL_ENV}/bin/pip3 install uvicorn

#
# Final
Expand All @@ -48,10 +44,8 @@ COPY --from=base ${VIRTUAL_ENV} ${VIRTUAL_ENV}

RUN apk update && \
apk upgrade --no-cache && \
apk add --no-cache \
bash \
geos \
geos-dev
apk add --no-cache


WORKDIR /app
# prez module is already built as a package and installed in $VIRTUAL_ENV as a library
Expand Down
54 changes: 0 additions & 54 deletions ogcfeaturesapi.Dockerfile

This file was deleted.

0 comments on commit 9f045d5

Please sign in to comment.