Skip to content

Commit c5c930c

Browse files
committed
fixed docker integration
1 parent e288fc0 commit c5c930c

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM python:alpine3.19
1+
FROM tiangolo/uwsgi-nginx-flask:python3.11-2024-01-01
22

33
WORKDIR /app
44

55
COPY . .
66

7-
RUN python -m pip install -r requirements.txt
7+
RUN pip3 install --no-cache-dir -r requirements.txt

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,16 @@ Additionally, the Docker image is built with GitHub actions on the main branch.
6363
If you open up the docker-compose.yml and modify this line:
6464

6565
```yml
66-
image: sweep
66+
image: raven
6767
```
6868
6969
to be
7070
7171
```yml
72-
image: ghcr.io/fosatech/stk-sweep:latest
72+
image: ghcr.io/fosatech/raven:latest
7373
```
7474
75-
Then run `docker compose run --publish 5000:5000 stk_sweep` to start the container
75+
Then run `docker compose run --publish 5000:5000 raven` to start the container
7676

7777
This bash script will build the docker image from the Docker file and then run the container from the docker compose file.
7878

docker-compose.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
version: '3.9'
22

33
services:
4-
stk_sweep:
5-
image: sweep
4+
raven:
5+
image: raven
66
ports:
77
- "5000:5000"
88
entrypoint:
99
- python
10-
- stk_sweep.py
10+
- raven.py
1111
- --host=0.0.0.0

startContainer.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -x
44

55
echo "Building Docker container..."
66

7-
docker build -t sweep .
7+
docker build -t raven .
88

99
echo "Starting Docker container..."
10-
docker compose run --publish 5000:5000 stk_sweep
10+
docker compose run --publish 5000:5000 raven

0 commit comments

Comments
 (0)