From 42e222148ade1a9c4f6ed16921453c54c3dc9892 Mon Sep 17 00:00:00 2001 From: Samuel <94757110+Sekoutou09@users.noreply.github.com> Date: Tue, 11 Jul 2023 00:25:02 -0500 Subject: [PATCH 1/2] Create s3samuel --- s3samuel | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 s3samuel diff --git a/s3samuel b/s3samuel new file mode 100644 index 0000000..261ee52 --- /dev/null +++ b/s3samuel @@ -0,0 +1,2 @@ +Hello, +s3samuel is proud of the way instructors Eric and Tia are transmitting devops knowledges. From 47343aedf17bf7ae1cf589894bb41b905cb7be6f Mon Sep 17 00:00:00 2001 From: Samuel <94757110+Sekoutou09@users.noreply.github.com> Date: Tue, 15 Aug 2023 13:33:14 -0500 Subject: [PATCH 2/2] Create Dockerfile --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6f6e526 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +# Use an official Python runtime as the base image +FROM python:3.9-slim + +# Set the working directory inside the container +WORKDIR /app + +# Copy the current directory contents into the container at /app +COPY . /app + +# Install the required dependencies +RUN pip install --no-cache-dir Flask + +# Expose port 5000 (the default Flask port) +EXPOSE 5000 + +# Set the command to run the application when the container starts +CMD ["python", "app.py"]