Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.69 KB

README.md

File metadata and controls

57 lines (38 loc) · 1.69 KB

Full Stack Playground

Project requirements

  • Docker Desktop
  • NodeJS 20
  • Java 17

Environment Setup

  • Install Docker Desktop
  • Make sure your JAVA_HOME is set to JDK 17
  • Make sure node --version responds version 20

Running Locally

docker compose up --build --force-recreate

To shutdown you just need to Ctrl + C or in another shell type docker compose down

After starting up, the front end should be available on port 5173 (http://localhost:5173)

Front End

front-end TODOs

  • Dockerfile should use a different user, not root
  • Test/Implement a production build

Build Image

cd frontend
docker build --target dev -t frontend:dev

# to run
docker run -p 5173:5173 frontend:dev

# to run image, but access the shell
docker run -p 5173:5173 -it frontend:dev /bin/sh

References

Problems found during dev process and related references