fix dockerfile

This commit is contained in:
ducoterra
2020-04-22 15:58:25 -04:00
parent 030f1fb73d
commit 470e409381
4 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
variables:
CI_PROJECT_DIR: "."
CI_REGISTRY_IMAGE: hub.ducoterra.net/ducoterra/django
CI_COMMIT_TAG: 3.8.2_3
CI_COMMIT_TAG: 3.8.2_4
stages:
- build

View File

@@ -7,4 +7,4 @@ COPY manage.py manage.py
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
CMD ["python","manage.py","runserver","8000"]
CMD ["python","manage.py","runserver"]

View File

@@ -25,7 +25,7 @@ SECRET_KEY = 'b8fi9=f-qj=@-#1iru34-f@a6pzfysgrf(1n_&d=ur%!1w$q*w'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ["localhost", "test.ducoterar.net"]
ALLOWED_HOSTS = ["localhost", "test.ducoterra.net"]
# Application definition

View File

@@ -1,7 +1,7 @@
apiVersion: batch/v1
kind: Job
metadata:
name: pi
name: test
spec:
template:
spec: