Mihnea-Bogdans-MacBook-Pro:blablacar mihnea-bogdancretu$ pwd
/Users/mihnea-bogdancretu/Desktop/Lucru/C3/S2/IDP/blablacar
Mihnea-Bogdans-MacBook-Pro:blablacar mihnea-bogdancretu$ tree .
.
├── server
│ ├── Dockerfile
│ ├── requirements.txt
│ └── server.py
├── stack.yml
└── web
├── add.html
├── explore.html
├── finish.html
├── index.html
├── reserve.html
├── script-add.js
├── show.html
├── style.css
├── video.html
└── wallpaper.jpg
Mihnea-Bogdans-MacBook-Pro:blablacar mihnea-bogdancretu$ cat stack.yml
version: '3.1'

services:
db:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
container_name: db
environment:
MYSQL_ROOT_PASSWORD: bogcretu_blablacar
stdin_open: true
tty: true

server:
build: ./server
volumes:
- ./server:/usr/src/app
depends_on:
- db
ports:
- "5000:5000"
stdin_open: true
tty: true
Mihnea-Bogdans-MacBook-Pro:blablacar mihnea-bogdancretu$ cat server/Dockerfile
FROM python:3
WORKDIR /usr/src/app

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

CMD ["python", "./server.py"]
Mihnea-Bogdans-MacBook-Pro:blablacar mihnea-bogdancretu$ cat server/requirements.txt
flask
mysql-connector
Mihnea-Bogdans-MacBook-Pro:blablacar mihnea-bogdancretu$ docker-compose -f stack.yml up


This post has been viewed 398 times.

The TextSaver is a simple free tech tool to help save bits of text. You can use it to save notes, text messages, archive text messages from an iPhone or Android, save HTML, avoid PDFs, export messages, lists, phone numbers, addresses, really whatever you want. Please note that saved text is not hidden from the public unless you use the password utility. When using a password, the text will only be viewable to those with a password. Use it for fun, use it for war, use it to control the minds of your enemies.

Legal Disclaimer The website https://textsaver.flap.tv/ (hereinafter referred to as "TextSaver") is a platform designed to allow users to store and share bits of text. TextSaver and its owners do not review, approve, endorse, or make any representations about the legality, accuracy, reliability, completeness, or quality of the content posted by its users. The content reflects the views and responsibility of the person or entity that posts it and does not necessarily represent the views of TextSaver. By using TextSaver, you agree that TextSaver, its owners, affiliates, employees, or agents shall not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with the use of or reliance on any such content available on or through TextSaver. Users are solely responsible for their content, including compliance with intellectual property laws, confidentiality obligations, and applicable local laws. TextSaver expressly disclaims all liability in relation to the content posted by users. If you believe that any content on TextSaver infringes upon your intellectual property rights or is otherwise unlawful, please contact us with detailed information, and we will take appropriate action in accordance with our policies and applicable laws.