Commit db23a5af authored by James Kirk's avatar James Kirk
Browse files

refactor: adding a dev/prod alternative so the released image is shippable

2 merge requests!23Resolve "Release v0.1.0",!8Gitlab-ci
Pipeline #106892 passed with stages
in 57 seconds
FROM python:3.9.16
WORKDIR /app
# If we want to use the alpine image, we need these packages for pytest
# RUN apk update && apk add python3-dev gcc libc-dev libffi-dev
COPY requirements.txt requirements.txt
COPY requirements-dev.txt requirements-dev.txt
RUN pip install -r requirements.txt
RUN pip install -r requirements-dev.txt
\ No newline at end of file
......@@ -2,6 +2,8 @@ FROM python:3.9.16
WORKDIR /app
COPY . .
# If we want to use the alpine image, we need these packages for pytest
# RUN apk update && apk add python3-dev gcc libc-dev libffi-dev
......
......@@ -3,7 +3,7 @@ services:
soar_api_test:
build:
context: ..
dockerfile: docker/Dockerfile
dockerfile: docker/Dev.Dockerfile
volumes:
- ../:/app
environment:
......
......@@ -13,7 +13,7 @@ services:
soar_bus:
build:
context: ..
dockerfile: docker/Dockerfile
dockerfile: docker/Dev.Dockerfile
restart: unless-stopped
depends_on:
- rabbitmq__local
......@@ -27,7 +27,7 @@ services:
soar_api:
build:
context: ..
dockerfile: docker/Dockerfile
dockerfile: docker/Dev.Dockerfile
restart: unless-stopped
ports:
- "8087:8087"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment