From fd47c34cd5ebc64fb7bad5deb125dcd8b0fa49c8 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 25 Apr 2024 15:25:58 +0000 Subject: [PATCH] Reordering Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3e99086..5aed75c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,13 +2,14 @@ FROM python:3.9-slim WORKDIR /opt/orcid_integration +RUN apt-get update && apt-get install -y +RUN apt-get install -y libxml2-dev libxmlsec1-dev libxmlsec1-openssl build-essential pkg-config + COPY *.py ./ COPY requirements.txt . COPY orcidflask/*.py ./orcidflask/ COPY orcidflask/templates ./orcidflask/templates/ -RUN apt-get update && apt-get install -y -RUN apt-get install -y libxml2-dev libxmlsec1-dev libxmlsec1-openssl build-essential pkg-config RUN pip install -r requirements.txt ENV FLASK_APP=orcidflask