Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
akannan1087 committed Jun 22, 2024
1 parent c9a2632 commit d2d56c9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ FROM python:3.9-slim
# Set the working directory in the container
WORKDIR /app

# Copy the requirements file into the container at /app
COPY requirements.txt .
COPY requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r /usr/src/app/requirements.txt

# Install any dependencies
RUN pip install --no-cache-dir -r requirements.txt
# copy files required for the app to run
COPY app.py /usr/src/app/

# Copy the rest of the application code into the container at /app
COPY . .
COPY templates/index.html /usr/src/app/templates/

EXPOSE 5000

Expand Down

0 comments on commit d2d56c9

Please sign in to comment.