build and ready to start bot on container start..

This commit is contained in:
Shihaam Abdul Rahman 2023-04-09 20:31:53 +05:00
parent 44e359e176
commit b909883422
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

View File

@ -9,8 +9,7 @@ WORKDIR /root
COPY . .
RUN yarn install \
&& rm -rf /usr/local/share/.cache
&& rm -rf /usr/local/share/.cache \
&& yarn build
#&& yarn build
CMD yarn build && yarn start
CMD yarn start