-
Notifications
You must be signed in to change notification settings - Fork 41
/
Dockerfile
36 lines (24 loc) · 900 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM node:latest
RUN npm install -g typescript
RUN corepack enable
RUN useradd -m supibot
USER supibot
WORKDIR /home/supibot
COPY --chown=supibot:supibot package.json ./
COPY --chown=supibot:supibot tsconfig.json ./
COPY --chown=supibot:supibot yarn.lock ./
COPY --chown=supibot:supibot .yarnrc.yml ./
RUN yarn
COPY --chown=supibot:supibot master.js ./
COPY --chown=supibot:supibot init ./init
COPY --chown=supibot:supibot api ./api
COPY --chown=supibot:supibot chat-modules ./chat-modules
COPY --chown=supibot:supibot classes ./classes
COPY --chown=supibot:supibot commands ./commands
COPY --chown=supibot:supibot crons ./crons
COPY --chown=supibot:supibot gots ./gots
COPY --chown=supibot:supibot platforms ./platforms
COPY --chown=supibot:supibot singletons ./singletons
COPY --chown=supibot:supibot utils ./utils
COPY docker-entrypoint.sh /usr/local/bin/
CMD ["docker-entrypoint.sh"]