Skip to content

Commit

Permalink
Updated Docker to change location of runserver
Browse files Browse the repository at this point in the history
  • Loading branch information
VisLab committed Oct 2, 2024
1 parent 6e177e3 commit 4a02e25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deploy_hed/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion deploy_hed_dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a02e25

Please sign in to comment.