Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e01bf28646 | ||
|
|
f362194c5e | ||
|
|
bdc4c90705 |
@@ -7,5 +7,6 @@ COPY ui ui
|
|||||||
COPY manage.py manage.py
|
COPY manage.py manage.py
|
||||||
COPY requirements.txt requirements.txt
|
COPY requirements.txt requirements.txt
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
RUN python manage.py collectstatic
|
||||||
|
|
||||||
CMD ["gunicorn","-b",":8000", "-w", "4", "config.wsgi"]
|
CMD ["gunicorn","-b",":8000", "-w", "4", "config.wsgi"]
|
||||||
5
README.md
Normal file
5
README.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# CI Builder
|
||||||
|
|
||||||
|
My CI testing pipeline for a django project.
|
||||||
|
|
||||||
|
[](http://gitlab.ducoterra.net/ducoterra/ci_builder/-/commits/master)
|
||||||
@@ -122,3 +122,4 @@ USE_TZ = True
|
|||||||
# https://docs.djangoproject.com/en/3.0/howto/static-files/
|
# https://docs.djangoproject.com/en/3.0/howto/static-files/
|
||||||
|
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
|
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
|
||||||
@@ -33,7 +33,7 @@ spec:
|
|||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: test
|
- name: test
|
||||||
port: 80
|
port: 8000
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -49,6 +49,6 @@ spec:
|
|||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: test
|
- name: test
|
||||||
port: 80
|
port: 8000
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: httpsredirect
|
- name: httpsredirect
|
||||||
Reference in New Issue
Block a user