mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 02:25:07 +00:00
Fix Companion build output and Dockerfile (#5917)
Without `rootDir` we now have a nested structure in `lib/src` instead of the files directly in `lib/.
This commit is contained in:
parent
27f0ca081e
commit
938c7a89db
2 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:18.17.1-alpine as build
|
||||
FROM node:22.18.0-alpine AS build
|
||||
|
||||
# Create link to node on amd64 so that corepack can find it
|
||||
RUN if [ "$(uname -m)" == "aarch64" ]; then mkdir -p /usr/local/sbin/ && ln -s /usr/local/bin/node /usr/local/sbin/node; fi
|
||||
|
|
@ -17,7 +17,7 @@ RUN cd /app && corepack yarn workspace @uppy/companion build
|
|||
# Now remove all non-prod dependencies for a leaner image
|
||||
RUN cd /app && corepack yarn workspaces focus @uppy/companion --production
|
||||
|
||||
FROM node:18.17.1-alpine
|
||||
FROM node:22.18.0-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
"extends": "./tsconfig.shared",
|
||||
"compilerOptions": {
|
||||
"outDir": "./lib",
|
||||
"rootDir": "./src",
|
||||
"noEmitOnError": true
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue