.
This commit is contained in:
parent
36113b23e3
commit
bbfaf7d528
@ -3,8 +3,6 @@
|
||||
# BUILD STAGE
|
||||
FROM node:lts-iron AS builder
|
||||
|
||||
ARG CACHEBUST=1
|
||||
|
||||
# Establecer el directorio de trabajo
|
||||
WORKDIR /api
|
||||
|
||||
@ -24,12 +22,11 @@ COPY server ./server
|
||||
RUN cd ./shared && yarn install --production
|
||||
RUN cd ./server && yarn install --production
|
||||
|
||||
|
||||
|
||||
ARG CACHEBUST=1
|
||||
|
||||
# Ejecutar el build
|
||||
# Si hay un error, mostrarlo en detalle.
|
||||
# RUN yarn run build || { echo 'Error during build'; exit 1; }
|
||||
RUN cd ./server && yarn run build || { echo 'Error during build'; exit 1; }
|
||||
|
||||
# FINAL STAGE
|
||||
#FROM node:lts-iron AS prod
|
||||
|
||||
Loading…
Reference in New Issue
Block a user