diff --git a/Dockerfile b/Dockerfile index c674dcd..ffee989 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,13 +14,12 @@ ENV APP_HOME=/app COPY package.json yarn.lock $APP_HOME/ COPY config $APP_HOME/config +WORKDIR $APP_HOME RUN yarn install COPY . $APP_HOME -WORKDIR $APP_HOME - RUN yarn build RUN rm -rf node_modules