Skip to content

Commit

Permalink
refactor: updated dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
BilalQamar95 committed Oct 17, 2024
1 parent 84421e8 commit a8cee9a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dockerfiles/program-intent-engagement.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ ENV DJANGO_SETTINGS_MODULE program_intent_engagement.settings.production
EXPOSE 18781
RUN useradd -m --shell /bin/false app

# Clone the repository
RUN curl -L https://github.com/edx/program-intent-engagement/archive/refs/heads/main.tar.gz | tar -xz --strip-components=1

WORKDIR /edx/app/program-intent-engagement

# Create required directories for requirements
Expand All @@ -87,8 +90,6 @@ RUN virtualenv -p python${PYTHON_VERSION} --always-copy ${INTENT_MANAGEMENT_VENV
RUN curl -L -o requirements/production.txt https://raw.githubusercontent.com/edx/program-intent-engagement/main/requirements/production.txt
RUN pip install -r requirements/production.txt

# Clone the repository
RUN curl -L https://github.com/edx/program-intent-engagement/archive/refs/heads/main.tar.gz | tar -xz --strip-components=1

RUN mkdir -p /edx/var/log

Expand Down

0 comments on commit a8cee9a

Please sign in to comment.