mirror of
https://github.com/dataforcanada/d4c-datapkg-statistical.git
synced 2026-06-13 14:10:55 +02:00
Update GDAL, install some other Python packages, and change port for postgres
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
"containerUser": "ubuntu",
|
||||
"shutdownAction": "stopCompose",
|
||||
"forwardPorts": [
|
||||
5432,
|
||||
8888
|
||||
8888,
|
||||
5435
|
||||
],
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
FROM ghcr.io/osgeo/gdal:ubuntu-full-3.11.0
|
||||
FROM ghcr.io/osgeo/gdal:ubuntu-full-3.11.4
|
||||
|
||||
# Ubuntu is UID 1000 and GID 1000
|
||||
ARG USERNAME=ubuntu
|
||||
@@ -40,7 +40,7 @@ USER ${USERNAME}
|
||||
# Create virtual environment and install Python packages
|
||||
RUN uv venv ~/.venv \
|
||||
&& cd ~ \
|
||||
&& uv pip install 'geopandas[all]' duckdb psycopg2-binary jupyterlab lonboard click stats-can openpyxl ordered-set buckaroo jenkspy 'polars[all]'
|
||||
&& uv pip install 'geopandas[all]' duckdb psycopg2-binary jupyterlab lonboard click stats-can openpyxl ordered-set buckaroo jenkspy 'polars[all]' folium-pmtiles
|
||||
|
||||
# Bash Kernel
|
||||
RUN cd ~ \
|
||||
|
||||
+2
-2
@@ -16,13 +16,13 @@ services:
|
||||
command: sleep infinity
|
||||
db:
|
||||
image: postgis/postgis:17-3.5-alpine
|
||||
container_name: db
|
||||
container_name: devcontainer_postgres
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
env_file: .env
|
||||
ports:
|
||||
- 5432:5432
|
||||
- 5435:5432
|
||||
|
||||
networks:
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user