strip down useless and time consuming commands
This commit is contained in:
parent
df62d899a1
commit
05c39487d8
|
@ -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" ]
|
||||||
|
|
|
@ -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" ]
|
||||||
|
|
Loading…
Reference in New Issue