Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

176
Vistas
After building docker image my javascript is not working in my nuxt app

I used the shell script to build docker image and my javascript is not working anymore but when i run it without docker it's working but and i' m trying to figure out why this weird behavior because there is not error on my docker and even not in my nuxt app here are some of my files.

Dockerfile

FROM node:14.15.4-alpine


WORKDIR /app

RUN apk update && \
    apk add alpine-sdk && \
    apk add python3


RUN node -v
RUN npm -v


ENV HOST 0.0.0.0
EXPOSE 3000

CMD ["/bin/ash"]

Docker-compose.yml

version: '3'
services:
  web:
    build: .
    ports:
       - 3000:3000
    volumes:
      - ./nttlab:/app
    stdin_open: true
    tty: true
    networks:
      - ntt_platform


networks:
  ntt_platform:
    external: true
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I found that there was a warning on my terminal saying that my index file was big and the asset limit did not read the javascript so I had to extend the space on my nuxt.config file as follows:

build: {
/* Extend webpack config */
    extend (config, ctx) {
      config.performance.maxAssetSize = 700 * 1024
    }
}

After adding this I restarted my nuxt app and all the javascript started to work.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda