.
This commit is contained in:
parent
32b8b1025a
commit
bf15ecc4f7
@ -22,22 +22,10 @@ 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 cd ./server && yarn run build || { echo 'Error during build'; exit 1; }
|
||||
|
||||
#CMD pwd && ls -la
|
||||
|
||||
# FINAL STAGE
|
||||
#FROM node:lts-iron AS prod
|
||||
|
||||
#WORKDIR /api
|
||||
|
||||
# Copiar el código compilado de la fase anterior
|
||||
#COPY --from=builder /api/dist ./dist
|
||||
|
||||
# Exponer el puerto que la API usa
|
||||
EXPOSE 3001
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user