Skip to content

Commit

Permalink
feat: docker
Browse files Browse the repository at this point in the history
  • Loading branch information
b1ek committed Aug 25, 2024
1 parent 986dca7 commit 0b20970
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM python:3.10-alpine

WORKDIR /opt/code
COPY . .

RUN pip install -r requirements.txt && \
pip cache purge

CMD [ "python", "main.py" ]
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
services:
server:
build:
context: .
dockerfile: Dockerfile
restart: always
ports: []
environment:
TOKEN: # put your token here

0 comments on commit 0b20970

Please sign in to comment.