diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2024-02-17 00:07:31 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-17 00:07:31 -0500 |
| commit | 214a83c0f696ac731c54b00bf7503f87e497afa6 (patch) | |
| tree | 15d57b08e69d19fb4c2f3effb9937aec8d042bdc /Dockerfile | |
| parent | b29ab06623fd24cfc2a611bdd658b4d2ef934335 (diff) | |
| parent | c848f1d90fef40ffa81915d7dd875a2ee6d6c8d5 (diff) | |
| download | DLAP-214a83c0f696ac731c54b00bf7503f87e497afa6.tar.gz DLAP-214a83c0f696ac731c54b00bf7503f87e497afa6.tar.bz2 DLAP-214a83c0f696ac731c54b00bf7503f87e497afa6.zip | |
Merge pull request #17 from Alee14/testing
Merging testing branch
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..be11515 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +FROM node:alpine AS build + +WORKDIR /usr/src/bot + +RUN apk add --update alpine-sdk libtool autoconf automake python3 + +COPY package.json ./ + +COPY yarn.lock ./ + +RUN yarn global add node-gyp + +RUN yarn install + +FROM node:alpine + +WORKDIR /usr/src/bot + +COPY --from=build /usr/src/bot/node_modules ./node_modules + +COPY . ./ + +CMD ["node", "bot.js"] |
