https://github.com/kibalabs/docker-images
https://github.com/kibalabs/docker-images
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kibalabs/docker-images
- Owner: kibalabs
- Created: 2021-07-10T09:44:06.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-26T16:12:15.000Z (over 3 years ago)
- Last Synced: 2023-03-03T20:38:37.906Z (over 3 years ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker-Images
These are docker images exposed by Kiba Labs for generic purposes.
## App-Serve
This image is intended to make serving a react app extremely simple. To use, just create a dockerfile with the following:
```
FROM node:XYZ as build
... build you app ...
FROM ghcr.io/kibalabs/app-serve:latest
COPY --from=build /app/dist /usr/share/nginx/html
```
This image is intended to be used with https://github.com/kibalabs/build-js (although it's not required), so it will create a `runtimeConfig.js` file with all the environment variables available to the runtime (i.e. when `docker run` is executed) that begin with `KRT_`. These can then be accessed in your application as `window.KRT_`.