Improve Docker installation (#152)

This commit is contained in:
Riccardo Graziosi
2022-09-15 17:15:12 +02:00
committed by GitHub
parent 6198d814d8
commit fd3665cce6
37 changed files with 218 additions and 333 deletions

11
docker-entrypoint-dev.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
set -e
sh docker-entrypoint.sh
# Needed to avoid "webpack-dev-server not found" error
yarn install --check-files
# Launch Rails server and webpack-dev-server using Foreman
foreman start -p 3000