refractoring

This commit is contained in:
2024-06-24 21:13:12 +02:00
parent bfe735fbc1
commit db7d021b58
17 changed files with 5 additions and 2 deletions

View File

@@ -5,10 +5,10 @@ FROM python:3.10
WORKDIR /app
# Copy the current directory contents into the container at /app
COPY . /app
COPY ./propedal-planner /app
# Install any needed packages specified in requirements.txt
RUN pip install -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Make port available to the world outside this container
EXPOSE 8001

View File

@@ -0,0 +1 @@
docker compose up -d --build

View File

@@ -1,3 +1,5 @@
export FLASK_ENV=development
export CONFIG=config.DevelopmentConfig
export FLASK_APP=propedal-planner/app.py
#cd ./app
flask run --host=0.0.0.0