Skip to content

Commit

Permalink
build: fixed docker module folder structure preventing module from ru…
Browse files Browse the repository at this point in the history
…ninng
  • Loading branch information
TomerFi committed Jan 13, 2021
1 parent d1bd43f commit 4d35b3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ RUN ln -fs /usr/share/zoneinfo/$TIMEZONE /etc/localtime

WORKDIR /usr/switcher_webapi

COPY LICENSE \
switcher_webapi \
requirements.txt ./
COPY LICENSE requirements.txt ./

COPY switcher_webapi switcher_webapi

RUN pip install -r requirements.txt

Expand Down
16 changes: 5 additions & 11 deletions container_structure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,21 @@ fileExistenceTests:
- name: "LICENSE shouldExist: true"
path: /usr/switcher_webapi/LICENSE
shouldExist: true
- name: "conftest.py shouldExist: false"
path: /usr/switcher_webapi/conftest.py
shouldExist: false
- name: "consts.py shouldExist: true"
path: /usr/switcher_webapi/consts.py
path: /usr/switcher_webapi/switcher_webapi/consts.py
shouldExist: true
- name: "helpers.py shouldExist: true"
path: /usr/switcher_webapi/helpers.py
path: /usr/switcher_webapi/switcher_webapi/helpers.py
shouldExist: true
- name: "mappings.py shouldExist: true"
path: /usr/switcher_webapi/mappings.py
path: /usr/switcher_webapi/switcher_webapi/mappings.py
shouldExist: true
- name: "request_handlers.py shouldExist: true"
path: /usr/switcher_webapi/request_handlers.py
path: /usr/switcher_webapi/switcher_webapi/request_handlers.py
shouldExist: true
- name: "start_server.py shouldExist: true"
path: /usr/switcher_webapi/start_server.py
path: /usr/switcher_webapi/switcher_webapi/start_server.py
shouldExist: true
- name: "test_server.py shouldExist: false"
path: /usr/switcher_webapi/test_server.py
shouldExist: false
- name: "requirements.txt shouldExist: true"
path: /usr/switcher_webapi/requirements.txt
shouldExist: true
Expand Down

0 comments on commit 4d35b3d

Please sign in to comment.