Commit 24fbc336 authored by biblia19's avatar biblia19
Browse files

Initial commit

parents
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+21 −0
Original line number Diff line number Diff line
# https://youtu.be/7I6tHw68DMQ
# https://medium.com/devops-with-valentine/how-to-build-a-docker-image-and-push-it-to-the-gitlab-container-registry-from-a-gitlab-ci-pipeline-acac0d1f26df
#run tests:
#    image: registry.gitlab.com/oss-project-036/custom-docker-image-test
#    rules:
#        - if: $CI_PIPELINE_SOURCE != "schedule"    
#    script:
#        - python --version
#        - pip --version
#        - pytest --version

build image:
    image: docker:20.10.10
    services:
        - docker:20.10.10-dind
#    rules:
#        - if: $CI_PIPELINE_SOURCE == "schedule"        
    script:
        - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin
        - docker build -t $CI_REGISTRY_IMAGE .
        - docker push $CI_REGISTRY_IMAGE

Dockerfile

0 → 100644
+3 −0
Original line number Diff line number Diff line
FROM python:3.10
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt

requirements.txt

0 → 100644
+8 −0
Original line number Diff line number Diff line
pytest
pandas
lxml
beautifulsoup4
konlpy
dhooks
matplotlib
git+https://gitlab.com/biblia19/PyKoSpacing