dockerizar

This commit is contained in:
2023-03-09 10:48:42 +01:00
parent a9a9124513
commit 60d295a5c5

View File

@@ -1,41 +1,20 @@
# PocketBase (frontend-pocketbase)
Quasar App (ejercicio_quasar)
frontend of pocketbase backend
### Crear la imagen
## Install the dependencies
```bash
yarn
# or
npm install
```
docker build -t dockerize-quasar-listas .
```
### Start the app in development mode (hot-code reloading, error reporting, etc.)
```bash
quasar dev
### borrar y crear contenedor
```
docker rm -f listas && docker run -d --name=listas --restart unless-stopped -p 33329:80 dockerize-quasar-listas
```
### purgar docker
### Lint the files
```bash
yarn lint
# or
npm run lint
```
### Format the files
```bash
yarn format
# or
npm run format
docker system prune
docker image prune -a
```
### Build the app for production
```bash
quasar build
```
### Customize the configuration
See [Configuring quasar.config.js](https://v2.quasar.dev/quasar-cli-vite/quasar-config-js).