From 0080b812f6d32da43ef7ff8770e1fce65627bdac Mon Sep 17 00:00:00 2001 From: mrcanelas Date: Thu, 30 Jan 2025 14:48:54 -0300 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 ++++- beamup.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index af1ed5c..d0cc9ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,9 @@ RUN npm install COPY ./configure ./ RUN npm run build +# Verifique se a pasta dist foi criada corretamente +RUN ls -la /app/configure/dist + # Etapa 2: Servir o backend Express com a build do frontend FROM node:16 @@ -20,7 +23,7 @@ RUN npm install COPY ./server.js ./ # Copiar a build do frontend da etapa anterior -COPY --from=build-frontend /app/configure/build /app/configure/build +COPY --from=build-frontend /app/configure/dist /app/configure/dist # Expor a porta 7000 EXPOSE 7000 diff --git a/beamup.json b/beamup.json index eccb061..c5384bd 100644 --- a/beamup.json +++ b/beamup.json @@ -1,4 +1,4 @@ { "projectName": "tmdb-addon", - "lastCommit": "fccac2e" + "lastCommit": "c3aabde" } \ No newline at end of file