Skip to content

Commit 6f8a1fc

Browse files
committed
fixes
1 parent ec85902 commit 6f8a1fc

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ jobs:
4747
IMAGE_NAME=ghcr.io/query-farm/python-airport-test-server
4848
docker build -t $IMAGE_NAME:latest .
4949
50+
- name: Start server container
51+
run: |
52+
IMAGE_NAME=ghcr.io/query-farm/python-airport-test-server
53+
docker run -d --name airport_test_server -p 50003:50003 $IMAGE_NAME:latest
54+
55+
- name: Stop server
56+
run: |
57+
docker stop airport_test_server
58+
5059
- name: Push Docker image to GHCR
5160
run: |
5261
IMAGE_NAME=ghcr.io/query-farm/python-airport-test-server

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ COPY requirements.lock ./
55
RUN PYTHONDONTWRITEBYTECODE=1 pip install --no-cache-dir -r requirements.lock
66

77
COPY src .
8-
CMD python main.py
8+
CMD airport_test_server

0 commit comments

Comments
 (0)