Open mfunyu opened 8 months ago
On a pas besion de utiliser webpack.config, just le backend va appeler les dossier dans build/
reference: https://create-react-app.dev/docs/deployment/
docker compose up --build
marche, mais c'est plutot pour le production environnement
create webpack.config to run HTTP service from serverreference(boilerplate) : https://github.com/redpelicans/red_tetris_boilerplate/blob/master/webpack.config.jsreference: https://github.com/42plamusse/Red-Tetris/blob/master/webpack.config.jsconsider the position ofpublic/
directorynpm run build
and useindex.html
file underbuild
directory