daavoo commited on
Commit
5e252e7
ยท
1 Parent(s): 9c7769a

Drop unused Dockerfile and package.yaml

Browse files
Files changed (2) hide show
  1. .github/workflows/package.yaml +0 -39
  2. Dockerfile +0 -21
.github/workflows/package.yaml DELETED
@@ -1,39 +0,0 @@
1
- name: Create and publish a Docker image
2
-
3
- on:
4
- push:
5
- branches:
6
- - 'main'
7
- tags:
8
- - 'v*'
9
- workflow_dispatch:
10
-
11
- jobs:
12
- build-and-push-image:
13
- runs-on: ubuntu-latest
14
- steps:
15
- - name: Checkout repository
16
- uses: actions/checkout@v4
17
-
18
- - name: Log in to DockerHub
19
- uses: docker/login-action@v3
20
- with:
21
- username: ${{ secrets.DOCKERHUB_USERNAME }}
22
- password: ${{ secrets.DOCKERHUB_TOKEN }}
23
-
24
- - name: Extract metadata (tags, labels) for Docker
25
- id: meta
26
- uses: docker/metadata-action@v5
27
- with:
28
- images: mzdotai/blueprint
29
- flavor: |
30
- latest=auto
31
-
32
- - name: Build and push Docker image
33
- id: push
34
- uses: docker/build-push-action@v6
35
- with:
36
- context: .
37
- push: true
38
- tags: ${{ steps.meta.outputs.tags }}
39
- labels: ${{ steps.meta.outputs.labels }}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Dockerfile DELETED
@@ -1,21 +0,0 @@
1
- FROM python:3.10-slim
2
-
3
- RUN pip3 install --no-cache-dir --upgrade pip
4
- RUN apt-get update && apt-get install -y \
5
- build-essential \
6
- software-properties-common \
7
- git
8
-
9
-
10
- COPY . /home/appuser/blueprint
11
- WORKDIR /home/appuser/blueprint
12
-
13
- RUN pip3 install /home/appuser/blueprint
14
-
15
- RUN groupadd --gid 1000 appuser \
16
- && useradd --uid 1000 --gid 1000 -ms /bin/bash appuser
17
-
18
- USER appuser
19
-
20
- EXPOSE 8501
21
- ENTRYPOINT ["./demo/run.sh"]