Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Koryakinaisen committed Dec 22, 2024
2 parents f7b9ff6 + 7a301eb commit 24ac277
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 1,143 deletions.
2 changes: 1 addition & 1 deletion backend/.dockerignore → .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ __pycache__
.git
.env
*.log
.idea
backend/.idea
.venv
4 changes: 2 additions & 2 deletions .github/workflows/5_prototype_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ jobs:
- name: Build docker-compose
run: |
docker-compose build --no-cache
docker compose build --no-cache
- name: Run docker-compose
run: |
docker-compose up -d
docker compose up -d
sleep 30
- name: Check containers are alive
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@

## Run dev using docker
```
cd deployment/dev/
```
```
docker-compose up -d
```
**Frontend**
Expand Down Expand Up @@ -53,7 +50,7 @@ http://localhost:8000/docs

## Run backend tests using docker
```sh
cd deployment/test/
cd ./backend
```
```
docker-compose up -d
Expand Down
4 changes: 1 addition & 3 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ WORKDIR /app

COPY . .

RUN python -m venv /.venv

RUN /.venv/bin/pip install --no-cache-dir -r requirements.txt
RUN python -m venv /.venv && /.venv/bin/pip install --no-cache-dir -r requirements.txt

ENV PATH="/.venv/bin:$PATH"
ENV ENV="dev"
Expand Down
Loading

0 comments on commit 24ac277

Please sign in to comment.