Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
joelclems committed Jul 24, 2023
1 parent bf0e420 commit 47b0ebc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# syntax=docker/dockerfile:1.2

FROM python:3.9-bullseye AS build
FROM python:3.10-bullseye AS build

ENV PIP_ROOT_USER_ACTION=ignore
RUN --mount=type=cache,target=/root/.cache \
pip install --upgrade pip setuptools wheel


FROM build AS build-habref
WORKDIR /build/
COPY /backend/dependencies/Habref-api-module .
Expand Down Expand Up @@ -107,7 +106,7 @@ RUN --mount=type=cache,target=/root/.npm \
npm ci --omit=dev


FROM python:3.9-bullseye AS wheels-light
FROM python:3.10-bullseye AS wheels-light

# raster2psql

Expand Down
4 changes: 2 additions & 2 deletions install/assets/docker_startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ gunicorn "geonature:create_app()" \
--access-logfile=- \
--error-logfile=- \
--log-level=info \
# --capture-output \
--reload-extra-file="${GEONATURE_CONFIG_FILE}"
--reload --reload-extra-file="${GEONATURE_CONFIG_FILE}"
# --capture-output \

0 comments on commit 47b0ebc

Please sign in to comment.