Commit 239f46fd authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Mock OSM NBI:

- Fixed Dockerfile
- Fixed README.md
parent 2f4f7418
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -25,7 +25,8 @@ RUN python3 -m pip install --upgrade pip-tools
# Create component sub-folders, and copy content
RUN mkdir -p /var/mock_osm_nbi
WORKDIR /var/mock_osm_nbi
COPY ./* ./*
COPY ./*.py .
COPY ./*.in .

# Get specific Python packages
RUN pip-compile --quiet --output-file=requirements.txt requirements.in
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ Basic OSM NBI to test OSM Client component.

- Build the component for testing
```bash
docker buildx build -t "mock_osm_nbi:test" -f ./src/tests/tools/mock_osm_nbi/Dockerfile .
docker buildx build -t "mock-osm-nbi:test" -f ./src/tests/tools/mock_osm_nbi/Dockerfile ./src/tests/tools/mock_osm_nbi
```

- Run the component