mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-09-11 14:36:35 +03:00
fix(ci): workflow
This commit is contained in:
parent
8545b9ca3b
commit
7bc9f614c5
2
.github/workflows/aws-preview.yml
vendored
2
.github/workflows/aws-preview.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./backend/core
|
||||
working-directory: ./backend/
|
||||
environment: production
|
||||
|
||||
steps:
|
||||
|
4
.github/workflows/aws.yml
vendored
4
.github/workflows/aws.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./backend/core
|
||||
working-directory: ./backend/
|
||||
environment: production
|
||||
|
||||
steps:
|
||||
@ -51,7 +51,7 @@ jobs:
|
||||
# Build a docker container and
|
||||
# push it to ECR so that it can
|
||||
# be deployed to ECS.
|
||||
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
|
||||
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./core/Dockerfile
|
||||
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
|
||||
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
|
||||
|
||||
|
2
.github/workflows/docker-build-test.yml
vendored
2
.github/workflows/docker-build-test.yml
vendored
@ -35,5 +35,5 @@ jobs:
|
||||
# Build a docker container and
|
||||
# push it to ECR so that it can
|
||||
# be deployed to ECS.
|
||||
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
|
||||
docker build -t quivr-test-docker .
|
||||
|
@ -5,12 +5,12 @@ RUN apt-get update && apt-get install -y libgeos-dev pandoc
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
COPY ./core/requirements.txt /code/requirements.txt
|
||||
COPY ./requirements.txt /code/requirements.txt
|
||||
|
||||
RUN pip install --no-cache-dir -r /code/requirements.txt --timeout 100
|
||||
|
||||
#You may need to run `chmod +x ./backend/core/scripts/start.sh` on your host machine if you get a permission error
|
||||
COPY ./core/scripts/start.sh /code/scripts/start.sh
|
||||
#You may need to run `chmod +x ./backend/scripts/start.sh` on your host machine if you get a permission error
|
||||
COPY ./scripts/start.sh /code/scripts/start.sh
|
||||
RUN chmod +x /code/scripts/start.sh
|
||||
|
||||
COPY ./core /code/
|
||||
|
@ -15,8 +15,8 @@ services:
|
||||
env_file:
|
||||
- ./backend/core/.env
|
||||
build:
|
||||
context: backend
|
||||
dockerfile: core/Dockerfile
|
||||
context: backend/core/
|
||||
dockerfile: Dockerfile
|
||||
container_name: backend-core
|
||||
restart: always
|
||||
volumes:
|
||||
|
Loading…
Reference in New Issue
Block a user