14 lines
190 B
Docker
Raw Normal View History

2024-12-09 01:57:18 +05:00
FROM node:18
# Use bash as the default shell
SHELL ["/bin/bash", "-c"]
ENV NODE_ENV=production
WORKDIR /var/www/html
COPY .. /var/www/html
RUN yarn install && yarn build
CMD yarn start