Skip to content
Snippets Groups Projects
Commit 31045ce9 authored by Damian Raczkowski's avatar Damian Raczkowski
Browse files

Add debug configuration

parent 1a987a5e
No related branches found
No related tags found
1 merge request!4Gitlab registry
Pipeline #13415 passed
......@@ -26,6 +26,6 @@ build_image:
before_script:
- ''
script:
- docker build -t $CI_REGISTRY_IMAGE .
- docker build -t $CI_REGISTRY_IMAGE:test .
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker push $CI_REGISTRY_IMAGE
......@@ -5,10 +5,11 @@ COPY ./src ./src
COPY ./main.py .
COPY ./requirements.txt .
COPY ./entrypoint.py .
COPY ./config.ini .
RUN python3.6 -m pip install -r requirements.txt
RUN ["mkdir", "/home/worker/models/"]
RUN ["chmod", "+x", "./entrypoint.py"]
RUN ["pip3", "--no-cache-dir", "install", "--upgrade", "awscli"]
RUN ["python3.6", "./entrypoint.py"]
ENTRYPOINT ["python3.6", "main.py", "service"]
CMD ["tail", "-f", "/dev/null"]
# ENTRYPOINT ["python3.6", "main.py", "service"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment