dont install twice

This commit is contained in:
b1ek 2023-03-12 12:23:43 +10:00
parent 39050124a8
commit 948776af62
Signed by: blek
GPG Key ID: 14546221E3595D0C
2 changed files with 0 additions and 2 deletions

View File

@ -5,7 +5,6 @@ WORKDIR /opt/code
COPY . /opt/code
RUN rm -rf node_modules package-lock.json yarn.lock && \
npm i && \
./install
CMD [ "npm", "run", "dev" ]

View File

@ -5,7 +5,6 @@ WORKDIR /opt/code
COPY . /opt/code
RUN rm -rf node_modules package-lock.json yarn.lock && \
npm i --prod && \
./install
CMD [ "npm", "run", "prod" ]