Skip to main content

All Questions

Tagged with
0 votes
0 answers
10 views

Configuring nginx to work with separately containerized frontend and backend

The problem is that I have a separately containerized frontend and backend for my full stack web app (vue3, node, express, vite, axios). When running locally without a container, I can connect the ...
Jo Thornto's user avatar
0 votes
0 answers
19 views

How to configure Dockerized Laravel Setup for Vite?

My goal is to Dockerize Laravel + Vite + React.js with Inertia.js for Development. I can get the app to run, but it has no Hot Module Replacement (HMR) and loads the pages like SSR pages and not ...
David's user avatar
  • 57
0 votes
0 answers
45 views

I'm getting an error while dockerizing a vite react app. RUN npm install in Dockerfile with npm ERR! code ERESOLVE

While trying to dockerize vite react app using "docker build . -t "cmsxeramed-frontend:v1.0"" i got the following error in Docker Desktop: FROM node:19.5.0-alpine WORKDIR /app COPY ...
Xeranor's user avatar
  • 11
0 votes
0 answers
26 views

Docker compose env variables not working in Vue3 app

I built a QR Code generator and I want to dockerize it. The frontend of the app I built it with Vuetify, so it uses Vite and Vue3. Inside the frontend I have a .env file with the api url and the port ...
AugustoL's user avatar
0 votes
1 answer
23 views

How can I pass AWS construct information to a container build with CDK?

I'm building the IaC for my containerised Vite/React project to deployed to AWS but the issue I've run into is that I can't pass info to my buildargs for the container, which I need to overwrite ...
parislyons's user avatar
0 votes
0 answers
34 views

REACT-VITE-DOCKER ERROR: Could not resolve entry module "index.html". error during build: RollupError: Could not resolve entry module "index.html"

Im migrating my existing React-Vite app into a docker container, but I keep getting this error when running the docker build command: \> [email protected] postinstall > npm run build > vite-...
Alejandro González Almazán's user avatar
-1 votes
0 answers
39 views

The command does not start npm run dev in Docker Compose

I have an nginx and php container in which a Laravel application exists, and there is also a vite builder, and when I run the npm run dev command, the css, js files do not compile. And when I go to ...
Artem D's user avatar
0 votes
0 answers
129 views

Run Vite HMR in WSL2, Docker and behind Nginx reverse proxy

I'm trying to get Hot Module Reload to work when developing my app locally. I have: A Quasar app using Vue3 Docker to mimick my Cloud infrastructure to test it locally WSL2 where Docker and thus my ...
Joetjah's user avatar
  • 6,132
0 votes
0 answers
41 views

Error on build Vue project by Vite in Docker on custom baseURL

I need to build Vue project into Docker that bundling by Vite Front and backend will be deployed on the same domain Because of that I have to set baseURL /front. Here my files to build project vite....
Aleks_Andr_19's user avatar
0 votes
2 answers
74 views

I can not run a vite project after I have configured it for Docker

I am having an issue with Vite that I have never seen before and need some help. I have a project with two folders, Backend and Frontend, Backend folder works fine, the problem is with the Frontend ...
Tomas's user avatar
  • 85
0 votes
0 answers
38 views

Setting up runtime environment variables in VITE React

I am using VITE React setup for my project. I am not able to change the environment variables during runtime as I understand Vite expects all environment variables during build time. I have gone ...
Nikhil's user avatar
  • 99
1 vote
1 answer
49 views

Proxy Error in Containerizing FastAPI Backend and React Vite Frontend

I'm encountering an issue with containerizing the frontend. It seems that the problem lies in using a proxy server on the frontend side, where any signals meant for http://localhost:5173/api get ...
M D's user avatar
  • 31
0 votes
0 answers
68 views

VITE/React - Struggling to get environment variables to pick up my variables set in the "secrets" section of my terraform

I'm working with a React app using VITE (for the first time) and struggling to get the variables declared in my terraform (grabbed from AWS Parameter Store) to pull through. When I set the variable in ...
JoshWarbi's user avatar
0 votes
1 answer
45 views

Retrieve server variable with vite vuejs in a docker

I have the same docker image with my vuejs (with vite) deployed in 3 different environment (stage, qa and prod) with kubernetes, in this 3 environment i have the same environment variable with 3 ...
martin genot's user avatar
0 votes
1 answer
79 views

Unable to dockerize a Node.js / SvelteKit app

I have a small empty SvelteKit template project which runs well locally but when I try Dockerizing it fails. Can anyone help me understand why isn't the build found? This is the Dockerfile: FROM node:...
Robert Alexander's user avatar

15 30 50 per page
1
2 3 4 5
11