.
This commit is contained in:
parent
d986b19658
commit
a7abf7ea7b
@ -21,17 +21,17 @@ 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 --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"]
|
||||
CMD ["node", "dist/server/index.js"]
|
||||
Loading…
Reference in New Issue
Block a user