Updates elixir and postgres
This commit is contained in:
parent
761700386c
commit
ad39e4aaf0
@ -1,6 +1,6 @@
|
|||||||
# Elixir + Phoenix
|
# Elixir + Phoenix
|
||||||
|
|
||||||
FROM elixir:1.12.2
|
FROM elixir:latest
|
||||||
|
|
||||||
# Install debian packages
|
# Install debian packages
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
@ -12,5 +12,6 @@ RUN mix local.rebar --force
|
|||||||
RUN mix archive.install hex phx_new --force
|
RUN mix archive.install hex phx_new --force
|
||||||
|
|
||||||
COPY setup.sh /usr/local/bin/
|
COPY setup.sh /usr/local/bin/
|
||||||
|
RUN chmod +x /usr/local/bin/setup.sh
|
||||||
EXPOSE 4012
|
EXPOSE 4012
|
||||||
ENTRYPOINT ["setup.sh"]
|
ENTRYPOINT ["setup.sh"]
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
database:
|
database:
|
||||||
image: postgres
|
image: postgres:15
|
||||||
|
container_name: bump-database
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=postgres
|
- POSTGRES_USER=postgres
|
||||||
- POSTGRES_PASSWORD=postgres
|
- POSTGRES_PASSWORD=postgres
|
||||||
|
Loading…
Reference in New Issue
Block a user