Adicionando viuetify y dockers para correr el proyecto completo #34

Merged
mono merged 7 commits from experiment_sale_with_vuetify_#33 into main 2024-09-28 16:03:57 -05:00
3 changed files with 29 additions and 5 deletions
Showing only changes of commit f14d27e83c - Show all commits

View File

@ -15,5 +15,13 @@ services:
volumes:
- ./tienda_ilusion:/app/
ports:
- 7001:9090
- "7001:9090"
frontend:
build:
context: ./
dockerfile: vuetify.Dockerfile
volumes:
- ./tienda_ilusion/don_confiao/frontend/don-confiao:/app/
ports:
- "7003:3000"

View File

@ -2,10 +2,17 @@ server {
listen 80;
server_name donconfiao.org;
# location /frontend {
# alias /var/www/frontend/;
# autoindex on;
# }
location /frontend {
alias /var/www/frontend/;
# index index.html;
autoindex on;
proxy_pass http://frontend:3000/frontend;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location / {

9
vuetify.Dockerfile Normal file
View File

@ -0,0 +1,9 @@
from node
WORKDIR /app/
COPY tienda_ilusion/don_confiao/frontend/don-confiao/package.json /app/
RUN npm install
CMD ["npm", "run", "dev"]