Skip to content

Commit

Permalink
Test hot tm version
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Aug 23, 2024
1 parent 806e676 commit 2760834
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions images/tasking-manager-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ ENV TZ UTC
# Add non-root user, permissions, init log dir
RUN useradd --uid 9000 --create-home --home /home/appuser --shell /bin/false appuser


FROM base as extract-deps
RUN pip install --no-cache-dir --upgrade pip
WORKDIR /opt/python
Expand Down Expand Up @@ -70,13 +69,13 @@ USER appuser:appuser

# Clone the repository as root to avoid permission issues
USER root
RUN git clone https://github.com/OpenHistoricalMap/tasking-manager.git /usr/src/app && \
RUN git clone https://github.com/Rub21/tasking-manager.git /usr/src/app && \
chown -R appuser:appuser /usr/src/app

# Switch back to non-root user
USER appuser:appuser

RUN cd /usr/src/app && git checkout -f 4ae06b32ac48e1df70a17bb8c380aef79c291304
RUN cd /usr/src/app && git checkout -f 244b243de1b103872d5f170992525e3de4bffced

FROM runtime as debug
RUN pip install --user --no-warn-script-location \
Expand Down

0 comments on commit 2760834

Please sign in to comment.