strip down useless and time consuming commands

This commit is contained in:
blek 2023-03-26 12:53:02 +10:00
parent df62d899a1
commit 05c39487d8
Signed by: blek
GPG Key ID: 14546221E3595D0C
2 changed files with 0 additions and 6 deletions

View File

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

View File

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