Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…-API into dev
  • Loading branch information
shreyash-work-fl committed Jan 3, 2025
2 parents 0c7da29 + 3783553 commit c1a2855
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ WORKDIR /app
# Copy the current directory contents into the container at /app
COPY . /app

RUN apt-get update && \
apt-get install -y --no-install-recommends git openssh-client && \
rm -rf /var/lib/apt/lists/*

RUN --mount=type=ssh git submodule update --init --recursive

# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

Expand All @@ -18,5 +24,4 @@ ENV FLASK_APP=wsgi.py
ENV FLASK_RUN_HOST=0.0.0.0

# Run the application
CMD ["flask", "run"]

CMD ["flask", "run"]

0 comments on commit c1a2855

Please sign in to comment.