mirror of
https://github.com/BluemediaGER/muse.git
synced 2024-11-23 01:05:30 +01:00
Use yarn, remove manual type for package
This commit is contained in:
parent
577c976623
commit
faa1dcd5ec
|
@ -8,20 +8,20 @@ WORKDIR /usr/app
|
|||
COPY package* ./
|
||||
|
||||
# Install prod dependencies
|
||||
RUN npm i --only=prod
|
||||
RUN yarn install --prod
|
||||
|
||||
# Dependencies
|
||||
FROM base AS dependencies
|
||||
|
||||
# Install dev dependencies
|
||||
RUN npm install
|
||||
RUN yarn install
|
||||
|
||||
# Build app
|
||||
FROM dependencies AS builder
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
RUN yarn build
|
||||
|
||||
# Only copy essentials
|
||||
FROM base AS prod
|
||||
|
@ -30,4 +30,4 @@ COPY --from=builder /usr/app/dist dist
|
|||
|
||||
ENV DATA_DIR /data
|
||||
|
||||
CMD ["npm", "run", "start"]
|
||||
CMD ["yarn", "start"]
|
||||
|
|
3983
package-lock.json
generated
3983
package-lock.json
generated
File diff suppressed because it is too large
Load diff
3
src/packages.d.ts
vendored
3
src/packages.d.ts
vendored
|
@ -1,3 +0,0 @@
|
|||
declare module 'array-shuffle' {
|
||||
export default function <T>(arr: T[]): T[];
|
||||
}
|
Loading…
Reference in a new issue