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"] diff --git a/README.md b/README.md index 40afaa4..65b4476 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ # S4-projects ![del](https://user-images.githubusercontent.com/96950933/216551396-58ffa498-0148-4a61-97ac-74aaeb0bd115.png) +Hello ! I'm learning devops to be on my way of getting 6 figures income. diff --git a/andrea b/andrea new file mode 100644 index 0000000..e69de29 diff --git a/espresso-shop/README.md b/espresso-shop/README.md index 10da6b9..5ade82e 100644 --- a/espresso-shop/README.md +++ b/espresso-shop/README.md @@ -1 +1 @@ -# S3 Project 01 +# S3 for all sd bsfdbdffefefed student Project 01 cnadxchhy kjx;cvdsavdgvf diff --git a/gaby b/gaby new file mode 100644 index 0000000..e69de29 diff --git a/kassy b/kassy new file mode 100644 index 0000000..e69de29 diff --git a/mamy, b/mamy, new file mode 100644 index 0000000..e69de29 diff --git a/restaurant-app/yelb-appserver/README.md b/restaurant-app/yelb-appserver/README.md index c6208be..84a141b 100644 --- a/restaurant-app/yelb-appserver/README.md +++ b/restaurant-app/yelb-appserver/README.md @@ -1,3 +1,3 @@ This is the application server. It's a Ruby/Sinatra application that exposes a number of APIs that are consumed by the UI (or via curl if you fancy that). -Originally this application was included in a single file (`yelb-appserver.rb`). This has been since refactored by extracting the single API definition in their separate adapters and modules. This made the transition to Lambda/Serverless easier (one lambda per API definition). This hasn't changed the other deployment models (containers and instances) because those models still launch the `yelb-appserver.rb` main application which imports the modules instead of having everything in a single file (as it was conceived originally). \ No newline at end of file +Originally this application was included \er (one lambda per API definition). This hasn't changed the other deployment models (containers and instances) because those models still launch the `yelb-appserver.rb` main application which imports the modules instead of having everything in a single file (as it was conceived originally). vn nvn m fhbmn diff --git a/samuel b/samuel new file mode 100644 index 0000000..e69de29 diff --git a/test b/test deleted file mode 100644 index 9c46232..0000000 --- a/test +++ /dev/null @@ -1,7 +0,0 @@ -cascsCASCSCaCSacdsa -dacdsxacxcvxzVCx -SXVCXS -DSvs -dsVDs -vsDF -DVdvcdsvfdsvcdsvcdsVCDSVCDZXV