Skip to content
Snippets Groups Projects
Commit 95ba15a2 authored by Erik Reid's avatar Erik Reid
Browse files

Finished feature better-dockerfile-skeleton.

parents 4a08da8a 1e3f44e2
Branches
Tags
No related merge requests found
Pipeline #83809 passed
......@@ -7,4 +7,11 @@ RUN pip install \
--extra-index-url https://artifactory.software.geant.org/artifactory/api/pypi/geant-swd-pypi/simple \
goat-lso==${ARTIFACT_VERSION}
CMD ["tail", "-f", "/dev/null"]
# NOTE: a real config must be mounted at
# /etc/lso/config.json when running the container
RUN mkdir -p /etc/lso
COPY config.json.example /etc/lso/config.json
EXPOSE 8000
ENV SETTINGS_FILENAME=/etc/lso/config.json
CMD ["uvicorn", "lso.app:app", "--host", "0.0.0.0", "--port", "8000"]
......@@ -18,6 +18,7 @@ setup(
"ncclient",
"xmltodict",
"netaddr",
"ansible-runner==2.3.3",
],
license="MIT",
license_files=("LICENSE.txt",),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment