Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Communications Backbone System
communications-backbone
Commits
db23a5af
Commit
db23a5af
authored
2 years ago
by
James Kirk
Browse files
Options
Download
Email Patches
Plain Diff
refactor: adding a dev/prod alternative so the released image is shippable
parent
f6501eca
dev
11-add-websockets
master
v1.0.0
v0.1.0
v0.0.1
2 merge requests
!23
Resolve "Release v0.1.0"
,
!8
Gitlab-ci
Pipeline
#106892
passed with stages
in 57 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
3 deletions
+17
-3
docker/Dev.Dockerfile
docker/Dev.Dockerfile
+12
-0
docker/Dockerfile
docker/Dockerfile
+2
-0
docker/docker-compose-test.yaml
docker/docker-compose-test.yaml
+1
-1
docker/docker-compose.yaml
docker/docker-compose.yaml
+2
-2
No files found.
docker/Dev.Dockerfile
0 → 100644
View file @
db23a5af
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
This diff is collapsed.
Click to expand it.
docker/Dockerfile
View file @
db23a5af
...
@@ -2,6 +2,8 @@ FROM python:3.9.16
...
@@ -2,6 +2,8 @@ FROM python:3.9.16
WORKDIR
/app
WORKDIR
/app
COPY
. .
# If we want to use the alpine image, we need these packages for pytest
# 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
# RUN apk update && apk add python3-dev gcc libc-dev libffi-dev
...
...
This diff is collapsed.
Click to expand it.
docker/docker-compose-test.yaml
View file @
db23a5af
...
@@ -3,7 +3,7 @@ services:
...
@@ -3,7 +3,7 @@ services:
soar_api_test
:
soar_api_test
:
build
:
build
:
context
:
..
context
:
..
dockerfile
:
docker/Dockerfile
dockerfile
:
docker/
Dev.
Dockerfile
volumes
:
volumes
:
-
../:/app
-
../:/app
environment
:
environment
:
...
...
This diff is collapsed.
Click to expand it.
docker/docker-compose.yaml
View file @
db23a5af
...
@@ -13,7 +13,7 @@ services:
...
@@ -13,7 +13,7 @@ services:
soar_bus
:
soar_bus
:
build
:
build
:
context
:
..
context
:
..
dockerfile
:
docker/Dockerfile
dockerfile
:
docker/
Dev.
Dockerfile
restart
:
unless-stopped
restart
:
unless-stopped
depends_on
:
depends_on
:
-
rabbitmq__local
-
rabbitmq__local
...
@@ -27,7 +27,7 @@ services:
...
@@ -27,7 +27,7 @@ services:
soar_api
:
soar_api
:
build
:
build
:
context
:
..
context
:
..
dockerfile
:
docker/Dockerfile
dockerfile
:
docker/
Dev.
Dockerfile
restart
:
unless-stopped
restart
:
unless-stopped
ports
:
ports
:
-
"
8087:8087"
-
"
8087:8087"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment