Skip to content

Commit

Permalink
having SHELL_OUTSIDE_CONTAINER in Dockerfile is more intuitive
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinsane committed Apr 11, 2024
1 parent 0c99641 commit c93b6d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM python:3-slim

ENV IN_CONTAINER=true
ENV OS_OUTSIDE_CONTAINER="Linux/Red Hat Enterprise Linux 8.8 (Ootpa)"
ENV SHELL_OUTSIDE_CONTAINER="/bin/bash"

WORKDIR /app
COPY . /app
Expand Down
1 change: 1 addition & 0 deletions Dockerfile_ollama
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ENV PRETTIFY_MARKDOWN=false

ENV IN_CONTAINER=true
ENV OS_OUTSIDE_CONTAINER="Linux/Red Hat Enterprise Linux 8.8 (Ootpa)"
ENV SHELL_OUTSIDE_CONTAINER="/bin/bash"

WORKDIR /app
COPY . /app
Expand Down

0 comments on commit c93b6d7

Please sign in to comment.