moving to yarn in dockerfile

This commit is contained in:
orangecoding
2021-03-19 13:51:24 +01:00
parent e112d04e44
commit a3224dc6ee

View File

@@ -18,11 +18,13 @@ RUN mkdir /usr/src/fredy/db/
RUN ln -s /usr/src/fredy/db/ /db
RUN cd /usr/src/fredy/ && npm install
RUN npm i -g yarn
RUN cd /usr/src/fredy/ && yarn
WORKDIR /usr/src/fredy
RUN npm run prod
RUN yarn run prod
EXPOSE 9998