Go to file
NlightN22 ece046d2fd init
2024-02-17 22:57:32 +07:00
nginx init 2024-02-17 22:57:32 +07:00
public init 2024-02-17 22:57:32 +07:00
src init 2024-02-17 22:57:32 +07:00
.gitignore init 2024-02-17 22:57:32 +07:00
package.json init 2024-02-17 22:57:32 +07:00
README.md init 2024-02-17 22:57:32 +07:00
tsconfig.json init 2024-02-17 22:57:32 +07:00
yarn.lock init 2024-02-17 22:57:32 +07:00

Instruction

  • download
  • go to download directory
  • run yarn to install packages
  • create file: docker-compose.yml
version: '3.0'

services:
  front:
    image: nginx:alpine
    volumes:
      - ./build/:/usr/share/nginx/html/
      - ./nginx/:/etc/nginx/conf.d/
    ports:
      - 8080:80 # set your port here
  • create file: .env.production.local
REACT_APP_HOST=localhost
REACT_APP_PORT=4000
REACT_APP_OPENID_SERVER=https://server:port/realms/your-realm
REACT_APP_CLIENT_ID=your-client
  • run:
yarn build
docker compose up -d