TypeScript won't generate dist folder

System Information
  • Strapi Version: 4.8.0
  • Operating System: MacOS
  • Database: Postgres
  • Node Version: 16
  • NPM Version: 8.19.4
  • Yarn Version: 1.22.19

I am attempting to convert my existing JavaScript Strapi to TypeScript using [this guide] (TypeScript | Strapi Documentation) to a tee, I have copied the default ts-configs and installed typescript to my package.json

I am using a docker container to manage this. Whenever I build and run the project I get the following message in the console:
Starting the compilation for TypeScript files in /opt/app

However, I am not seeing the dist folder being generated anywhere in my project locally. Just wondering if there are any steps I am missing to get this to work? Are there any other indicators I can use to see if I have successfully converted my project to TypeScript?

Dockerfile:

FROM node:16
# Installing libvips-dev for sharp compatability
RUN apt-get update && apt-get install -y libvips-dev
ARG NODE_ENV=development
ENV NODE_ENV=${NODE_ENV}
WORKDIR /opt/
COPY ./package.json ./
COPY ./yarn.lock ./
ENV PATH /opt/node_modules/.bin:$PATH
RUN yarn config set network-timeout 600000 -g
RUN yarn install
WORKDIR /opt/app
COPY ./ .
RUN yarn build
EXPOSE 1337
CMD yarn "$(if [ $NODE_ENV = 'production' ] ; then echo 'start' ; else echo 'develop'; fi)"

Appreciate the help