configs_collection/t1/front_dockerized/README.md
2024-11-02 14:05:10 +03:00

30 lines
875 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Контейнеризация react приложения Купол.Управление
## Структура папок для запуска
```
.
├── Dockerfile
├── nginx
│   └── nginx.conf
├── reactapp
│   ├── ...
```
где:
- `.` - build контекст приложения;
- Папка `nginx` - конфиг для контейнера с nginx;
- Папка `reactapp` - папка, куда клонируется реакт проект Купол.Управление.
## Команды для сборки и запуска приложения
Для сборки используется команда:
```
docker build -t pro100ton:kupol-front-prod .
```
Для запуска используется команда:
```
docker run -it --rm -p 1337:80 pro100ton:kupol-front-prod
```