Move production to the default and devlopment to alternate

This commit is contained in:
Ryan W
2023-10-15 16:47:24 -07:00
parent 7840d6b9fc
commit d20e2bae89
9 changed files with 128 additions and 130 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
services:
web:
build: .
build:
context: ./
dockerfile: development.Dockerfile
command: bash -c "rm -f tmp/pids/server.pid && bin/rails s -p 3000 -b '0.0.0.0'"
volumes:
- .:/usr/src/app