mark discord.js as external
This commit is contained in:
parent
bba0b1bce0
commit
ef5ab8ad77
5 changed files with 61 additions and 12 deletions
|
@ -1,12 +1,8 @@
|
|||
FROM node:17-alpine as build-image
|
||||
FROM node:17-alpine
|
||||
WORKDIR /app
|
||||
COPY package.json yarn.lock .
|
||||
RUN yarn install --frozen-lockfile
|
||||
COPY . .
|
||||
RUN yarn build
|
||||
|
||||
FROM node:17-alpine
|
||||
WORKDIR /app
|
||||
COPY --from=build-image /app/index.js /app/index.js
|
||||
EXPOSE 3000
|
||||
CMD [ "node", "index.js" ]
|
||||
CMD [ "node", "dist/index.js" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue