Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Empty file added andrea
Empty file.
2 changes: 1 addition & 1 deletion espresso-shop/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# S3 Project 01
# S3 for all sd bsfdbdffefefed student Project 01 cnadxchhy kjx;cvdsavdgvf
Empty file added gaby
Empty file.
Empty file added kassy
Empty file.
Empty file added mamy,
Empty file.
2 changes: 1 addition & 1 deletion restaurant-app/yelb-appserver/README.md
Original file line number Diff line number Diff line change
@@ -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).
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
Empty file added samuel
Empty file.
7 changes: 0 additions & 7 deletions test

This file was deleted.