From 445e820ef50875060deaec570b4e0ed6fe2bca63 Mon Sep 17 00:00:00 2001 From: David Arranz Date: Fri, 6 Sep 2024 18:17:33 +0200 Subject: [PATCH] . --- server/Dockerfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/server/Dockerfile b/server/Dockerfile index 093fe98..52ea875 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -12,26 +12,26 @@ ENV NODE_ENV $NODE_ENV WORKDIR /api COPY package.json /api/package.json -RUN yarn install +#RUN yarn install # Copiar el código de la aplicación COPY . /api -RUN yarn run build +#RUN yarn run build # RUN -FROM builder AS prod +#FROM builder AS prod -WORKDIR /api +#WORKDIR /api -COPY package.json yarn.lock ./ -RUN yarn install --production +#COPY package.json yarn.lock ./ +#RUN yarn install --production -COPY --from=builder /dist ./dist +#COPY --from=builder /dist ./dist # Exponer el puerto que la API usa -EXPOSE 3000 +#EXPOSE 3000 # Comando para correr la aplicación -CMD ["node", "dist/server/index.js"] \ No newline at end of file +#CMD ["node", "dist/server/index.js"] \ No newline at end of file