Updates elixir and postgres
This commit is contained in:
parent
761700386c
commit
ad39e4aaf0
@ -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"]
|
||||
|
@ -1,7 +1,8 @@
|
||||
version: '3'
|
||||
services:
|
||||
database:
|
||||
image: postgres
|
||||
image: postgres:15
|
||||
container_name: bump-database
|
||||
environment:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
|
Loading…
Reference in New Issue
Block a user