diff options
| author | Max Isom <[email protected]> | 2020-12-03 16:08:07 -0500 |
|---|---|---|
| committer | Max Isom <[email protected]> | 2020-12-03 16:08:07 -0500 |
| commit | faa1dcd5ec8d8509294cc8a9f62607684864277e (patch) | |
| tree | 696203a06682b09a460dc51126933db290f275d1 /Dockerfile | |
| parent | 577c976623433695705e7c61cbd9665b94e5c0b0 (diff) | |
| download | muse-faa1dcd5ec8d8509294cc8a9f62607684864277e.tar.xz muse-faa1dcd5ec8d8509294cc8a9f62607684864277e.zip | |
Use yarn, remove manual type for package
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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"] |
