diff --git a/docker/Dockerfile b/docker/Dockerfile index e8f38ca..0ef9f12 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -107,6 +107,10 @@ COPY docker-entrypoint.sh /usr/local/bin/ # ENTRYPOINT ["docker-entrypoint.sh"] WORKDIR /usr/src/app + +# install app dependencies +COPY package.json /usr/src/app + # add app COPY . ./ @@ -116,6 +120,9 @@ RUN npm install react-scripts RUN npm install -g next RUN npm install sharp RUN npm install react-modal-video +RUN npm install wowjs + + #CMD ["sh", "-c", "next build && next start"]