mirror of
https://github.com/MatrixTM/MHDDoS.git
synced 2024-11-15 19:22:52 +08:00
add docker image building
This commit is contained in:
parent
ace226abdf
commit
8b735cd512
2
.github/workflows/docker-image.yml
vendored
Normal file
2
.github/workflows/docker-image.yml
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: Build and push Docker images
|
||||
uses: docker/build-push-action@v2.9.0
|
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
|||
FROM python:3.8.12-buster
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./ ./
|
||||
COPY files files
|
||||
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
ENTRYPOINT ["python3", "/app/start.py"]
|
Loading…
Reference in New Issue
Block a user