diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index abb867b..152fb62 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -12,4 +12,4 @@ jobs: - name: Install modules run: yarn - name: Run ESLint - run: yarn run eslint . --ext .js,.jsx,.ts,.tsx + run: yarn run eslint ./src --ext .js,.jsx,.ts,.tsx diff --git a/Dockerfile b/Dockerfile index 072945e..39ac949 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,11 @@ WORKDIR /usr/src/app # Install deps COPY package.json ./ COPY yarn.lock ./ - RUN yarn -COPY . . +# Build +RUN yarn tsc + +COPY ./built/* . CMD [ "node", "index.js" ]