Skip to content

Commit

Permalink
add github action for docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh-31 committed Jun 9, 2024
1 parent 62577ec commit 4f000c0
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build Docker Container

on:
push:
branches:
- main
- master

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: shredder31/neuralearn:latest
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM pytorch/torchserve:latest-cpu
FROM langchain/langchain

# Seting the working directory
WORKDIR /NeuarLearn-QA-ChatBot-RAG-Pipline
Expand Down
Binary file modified requirements.txt
Binary file not shown.

0 comments on commit 4f000c0

Please sign in to comment.