diff --git a/.dockerignore b/.dockerignore index ef71f62e0..137589ad0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,3 +2,6 @@ .git website assets +private +e2e +.env diff --git a/.github/workflows/companion.yml b/.github/workflows/companion.yml index 915ce06e2..94e684187 100644 --- a/.github/workflows/companion.yml +++ b/.github/workflows/companion.yml @@ -46,4 +46,6 @@ jobs: run: corepack yarn workspaces focus @uppy/companion - name: Run tests run: corepack yarn run test:companion + - name: Run type checks in focused workspace + run: corepack yarn run build:companion diff --git a/Dockerfile b/Dockerfile index 73ee41638..dd2891d37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,7 @@ RUN if [ "$(uname -m)" == "aarch64" ]; then mkdir -p /usr/local/sbin/ && ln -s / WORKDIR /app -COPY package.json .yarnrc.yml /app/ -COPY .yarn /app/.yarn -COPY packages/@uppy/companion /app/packages/@uppy/companion +COPY . /app/ RUN apk --update add --virtual native-dep \ make gcc g++ python3 libgcc libstdc++ git && \