From 4a02e25c0536136306f0ac13991da1b7bab01cb2 Mon Sep 17 00:00:00 2001 From: Kay Robbins <1189050+VisLab@users.noreply.github.com> Date: Wed, 2 Oct 2024 17:09:36 -0500 Subject: [PATCH] Updated Docker to change location of runserver --- deploy_hed/Dockerfile | 4 ++-- deploy_hed_dev/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy_hed/Dockerfile b/deploy_hed/Dockerfile index df6f3af..2716990 100644 --- a/deploy_hed/Dockerfile +++ b/deploy_hed/Dockerfile @@ -1,4 +1,4 @@ -FFROM python:3.10-slim-buster +FROM python:3.10-slim-buster # Set the working directory inside the container WORKDIR /root @@ -28,7 +28,7 @@ RUN mkdir -p /var/log/hedtools && \ # Copy the application code into the container COPY ./hedtools /root/hedtools/ COPY ./hedtools/hedweb /root/hedtools/hedweb/ -COPY runserver.py /root/ +./hedtools/hedweb/runserver.py /root/ # Set environment variables for the application ENV HEDTOOLS_CONFIG_CLASS=config.ProductionConfig diff --git a/deploy_hed_dev/Dockerfile b/deploy_hed_dev/Dockerfile index d7e58a2..847bfd4 100644 --- a/deploy_hed_dev/Dockerfile +++ b/deploy_hed_dev/Dockerfile @@ -29,7 +29,7 @@ RUN mkdir -p /var/log/hedtools && \ # Copy the application code into the container COPY ./hedtools /root/hedtools/ COPY ./hedtools/hedweb /root/hedtools/hedweb/ -COPY runserver.py /root/ +COPY ./hedtools/hedweb/runserver.py /root/ # Set environment variables for the application ENV HEDTOOLS_CONFIG_CLASS=config.ProductionConfig