Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 997d3ad

Browse files
Create Dockerfile
1 parent 53067bf commit 997d3ad

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

‎Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM python:3.7-alpine
2+
LABEL maintainer="apollodevv <me@apollodev.me>"
3+
4+
RUN apk update && apk upgrade
5+
6+
RUN apk add --no-cache git make build-base linux-headers
7+
8+
WORKDIR /discord_bot
9+
10+
COPY index.py ./index.py
11+
COPY config.json ./config.json
12+
COPY requirements.txt ./requirements.txt
13+
COPY ./cogs ./cogs
14+
COPY ./utils ./utils
15+
16+
RUN pip install --no-cache-dir -r requirements.txt
17+
18+
CMD ["python", "index.py"]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /