diff --git a/Dockerfile b/Dockerfile index 39c7f77..a4795c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,11 +15,12 @@ COPY package.json yarn.lock ./ # Install app dependencies RUN yarn install --immutable +# Type check app +RUN yarn typecheck + # Bundle app source COPY . . -# Type check app -RUN yarn typecheck FROM base AS runner