-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from Amsterdam/feature/maintenance-2023-06-26
Maintenance run 2023-06-26
- Loading branch information
Showing
96 changed files
with
154 additions
and
117 deletions.
There are no files selected for viewing
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
FROM amsterdam/python:3.8-buster as app | ||
FROM python:3.11.4-slim-bullseye as app | ||
MAINTAINER [email protected] | ||
|
||
WORKDIR /app/install | ||
|
||
RUN apt update -y \ | ||
&& apt upgrade -y \ | ||
&& apt install -y --no-install-recommends gdal-bin \ | ||
&& apt autoremove -y \ | ||
&& apt clean -y \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
|
||
COPY requirements.txt requirements.txt | ||
RUN pip install -r requirements.txt | ||
|
||
|
@@ -14,6 +23,7 @@ COPY pyproject.toml /app | |
ARG SECRET_KEY=not-used | ||
RUN DATABASE_ENABLED=false python manage.py collectstatic --no-input | ||
|
||
RUN groupadd -r datapunt && useradd -r -g datapunt datapunt | ||
USER datapunt | ||
|
||
CMD ["/app/deploy/docker-run.sh"] | ||
|
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.