Updates elixir and postgres

This commit is contained in:
raphaelmaenle 2023-02-19 14:37:32 +01:00
parent 761700386c
commit ad39e4aaf0
No known key found for this signature in database
GPG Key ID: F97EBAB9C79709B3
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Elixir + Phoenix
FROM elixir:1.12.2
FROM elixir:latest
# Install debian packages
RUN apt-get update
@ -12,5 +12,6 @@ RUN mix local.rebar --force
RUN mix archive.install hex phx_new --force
COPY setup.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/setup.sh
EXPOSE 4012
ENTRYPOINT ["setup.sh"]

View File

@ -1,7 +1,8 @@
version: '3'
services:
database:
image: postgres
image: postgres:15
container_name: bump-database
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres