diff --git a/Dockerfile b/Dockerfile index 9c73fff55..01cde6868 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ FROM bitwalker/alpine-elixir:latest -RUN apk add inotify-tools postgresql-client yarn file -RUN apk add --no-cache make gcc libc-dev argon2 imagemagick +RUN apk add --no-cache inotify-tools postgresql-client yarn file make gcc libc-dev argon2 imagemagick cmake build-base libwebp-tools bash ncurses RUN mix local.hex --force && mix local.rebar --force diff --git a/docker-compose.yml b/docker-compose.yml index 3df763f40..8726415ba 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,10 +1,10 @@ -version: '3' +version: "3" services: postgres: container_name: mobilizon_db restart: unless-stopped - image: mdillon/postgis:11 + image: postgis/postgis:13-3.0 environment: POSTGRES_PASSWORD: postgres POSTGRES_DB: mobilizon_dev @@ -15,7 +15,7 @@ services: restart: unless-stopped build: . volumes: - - '.:/app' + - ".:/app" ports: - "4000:4000" depends_on: