(wip) rewrite dockerfile

This commit is contained in:
Vri 🌈 2023-05-04 13:57:27 +02:00
parent 0e72ac66c8
commit bc541dc0fa
Signed by: vrifox
GPG key ID: D40098E5B60B2197
3 changed files with 19 additions and 32 deletions

View file

@ -7,7 +7,7 @@ services:
args:
- USER_ID=${USER_ID:-1000}
volumes:
- .:/app
- .:/home/srm/app/
ports:
- "3000:3000"
links:
@ -16,7 +16,7 @@ services:
- ELASTICSEARCH_URL=${ELASTICSEARCH_URL:-http://elasticsearch:9200}
- APPLICATION_HOST=${APPLICATION_HOST:-localhost}
- SHARED_IMPORT_SECRET=$SHARED_IMPORT_SECRET
command: sh -c "cd /home/srm/app && bundle install && bundle exec puma -C config/puma.rb"
command: ls -lah /home/srm/
elasticsearch:
user: elasticsearch
build: ./docker/elasticsearch