/react-vite-frontend

React Vite for my fastapi-backend repo

Primary LanguageTypeScript

React + TypeScript + Vite

This project was bootstrapped with Vite.

Available Scripts

  • bun dev - Start the development server
  • bun build - Build the project for production
  • bun serve - Preview the production build
  • bun test - Run the test suite

Docker

Login to Docker Hub

docker login

create a React container

docker build -t webmasterdevlin/react-vite:<version> .

Test the React container by running it. It should be visible at localhost:8080

docker run -p 8080:80 webmasterdevlin/react-vite:<version>

Push the container to your Docker Hub account repository

docker push webmasterdevlin/react-vite:<version>