Skip to content

Commit

Permalink
rename and version var
Browse files Browse the repository at this point in the history
  • Loading branch information
FadyCoding committed Jul 5, 2024
1 parent 07d47ed commit aafff63
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ COPY frontend/ .
RUN npm install
RUN npm run build

# DebiAI Python Backend
# DebiAI Python debiaiServer (old backend dir)
FROM python:3.10.12-slim-bullseye
WORKDIR /backend
COPY backend/ .
WORKDIR /debiaiServer
COPY debiaiServer/ .
RUN pip install --trusted-host pypi.python.org -r requirements.txt
COPY --from=build-stage /frontend/dist dist
ENV FLASK_ENV production
Expand Down
1 change: 0 additions & 1 deletion debiaiServer/websrv.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import webbrowser
import psutil
from termcolor import colored
from threading import Timer
from flask_cors import CORS
from flask import send_from_directory, request, Response
from debiaiServer.init import init
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
from setuptools import setup, find_packages

VERSION = "0.27.1" # Same as DebiAI app (c.f swagger.yml)

setup(
name="debiai-gui",
version="0.1.2",
version=VERSION,
packages=find_packages(include=["debiaiServer", "debiaiServer.*"]),
include_package_data=True,
install_requires=[
Expand All @@ -24,7 +26,7 @@
],
entry_points={
"console_scripts": [
"debiai-start=debiaiServer.server:run",
"debiai =debiaiServer.server:run",
],
},
author="IRT-Systemx",
Expand Down

0 comments on commit aafff63

Please sign in to comment.