Steps:
git clone https://github.com/abidur-rehman/latest-apparts-ui
cd ./latest-apparts-ui
yarn install
HOSTUK_USERNAME={username} HOSTUK_PASSWORD={pass} yarn start
# or
yarn build
To be able to use one of the config from src/config/config.json in docker container, create .env file under folder one level up from
project's root directory (parent folder) with following contents:
RAZZLE_HOSTUK_USERNAME='Your username'
RAZZLE_HOSTUK_PASSWORD='Your password'
In the absence of .env file, default config local will be selected.
Build command should be executed from parent directory of the project (one level up). The reason for that
is to create docker context in order to load external .env file.
docker build -t abidurrehman/laparts-ui:latest -f latest-aparts-ui/Dockerfile .
docker push abidurrehman/laparts-ui:latest
Content type
Image
Digest
Size
504.7 MB
Last updated
over 5 years ago
docker pull abidurrehman/laparts-ui