-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
41 lines (26 loc) · 606 Bytes
/
Dockerfile
File metadata and controls
41 lines (26 loc) · 606 Bytes
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
36
37
38
39
40
41
FROM node:14-alpine
LABEL author="Tolfix" maintainer="support@tolfix.com"
RUN apk update && \
apk upgrade && \
apk add git
RUN npm install -g @types/node \
&& npm install -g typescript
WORKDIR /usr/src
COPY package*.json ./
RUN npm install --force
COPY . ./
RUN tsc -b
ENV DISCORD_TOKEN ""
ENV DISCORD_CLIENT_ID ""
ENV DISCORD_CLIENT_SECRET ""
ENV PREFIX ""
ENV DB_MONGO_URI ""
ENV EXPRESS_PORT ""
ENV EXPRESS_SESSION_SECRET ""
ENV FQDN ""
ENV HTTP ""
ENV GITHUB_CLIENT_ID ""
ENV GITHUB_CLIENT_SECRET ""
ENV GITHUB_SECRETS_SPONSOR ""
EXPOSE 8080
CMD [ "node", "./build/Main.js" ]