Skip to content

Commit

Permalink
Merge pull request #2 from juanfril:add-dockerfile
Browse files Browse the repository at this point in the history
add Dockerfile
  • Loading branch information
juanfril authored Jun 21, 2024
2 parents f6d10c4 + eeb8193 commit 41093f8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM python:3.9-slim

# Set the working directory
WORKDIR /app

# Copy the requirements file
COPY requirements.txt .

# Install dependencies
RUN pip install -r requirements.txt

# Copy the rest of the application code
COPY . .

# Expose the application port
EXPOSE 5000

# Define environment variable
ENV NAME WebScraping

# Run the application
CMD ["python", "src/app/app.py"]

0 comments on commit 41093f8

Please sign in to comment.