docker: copy mjs files as well

This commit is contained in:
liushuyu 2022-10-12 18:02:14 -06:00
parent 33ec2bb74e
commit c48d5b23b2
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ FROM node:16-alpine AS build
WORKDIR /usr/src/app WORKDIR /usr/src/app
# Install app dependencies and add source files # Install app dependencies and add source files
COPY package.json env.json yarn.lock tsconfig.json bundle.sh *.js ./ COPY package.json env.json yarn.lock tsconfig.json bundle.sh *.js *.mjs ./
COPY ./src ./src COPY ./src ./src
RUN yarn install --frozen-lockfile && sh -e ./bundle.sh RUN yarn install --frozen-lockfile && sh -e ./bundle.sh