Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Adesoji1 authored Aug 20, 2024
1 parent 16df167 commit a115ef2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Tutorials/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Python base image

FROM python:3.9-slim



# Set the working directory inside the container

WORKDIR /app



# Copy the Python script into the container

COPY code_1.py .



# Install any necessary dependencies

RUN pip install pandas matplotlib scikit-learn



# Command to run the Python script when the container starts

CMD ["python", "code_1.py"]

0 comments on commit a115ef2

Please sign in to comment.