Skip to content
Snippets Groups Projects
Commit cd623471 authored by Mohammad Torkashvand's avatar Mohammad Torkashvand
Browse files

add curl and vim to dockerfile

parent 7451259a
No related branches found
No related tags found
1 merge request!56add curl and vim to dockerfile
Pipeline #84591 passed
......@@ -4,11 +4,16 @@ ARG ARTIFACT_VERSION
WORKDIR /app
RUN apt update && apt install -y gcc libc-dev libffi-dev curl vim && \
addgroup -S appgroup && adduser -S appuser -G appgroup -h /app
RUN pip install \
--pre \
--extra-index-url https://artifactory.software.geant.org/artifactory/api/pypi/geant-swd-pypi/simple \
--target /app \
goat-lso==${ARTIFACT_VERSION}
RUN chown -R appuser:appgroup /app
USER appuser
EXPOSE 8000
CMD ["python", "-m", "uvicorn", "lso.app:app", "--host", "0.0.0.0", "--port", "8000"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment