Docker support added
This commit is contained in:
Fotoente 2022-02-20 09:44:46 +01:00
commit 3a3ae0d8b6
2 changed files with 15 additions and 1 deletions

View file

@ -9,13 +9,19 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and push
uses: docker/build-push-action@v2
with:

View file

@ -1,8 +1,16 @@
FROM python:3
FROM python:3-alpine
RUN apk add --no-cache \
py3-pip \
py3-setuptools \
python3-dev \
git \
build-base
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install git+https://github.com/yupix/Mi.py.git@v3.3.0