did stuff

This commit is contained in:
steev 2025-01-09 09:00:08 +01:00
parent 086bd8bff6
commit b04ffdc2d4
3 changed files with 25 additions and 3 deletions

View File

@ -11,8 +11,10 @@ COPY --from=0 /web /code/web
ENV FLASK_APP=app.py
WORKDIR /code
ENV FLASK_RUN_HOST=0.0.0.0
RUN apk add --no-cache gcc musl-dev linux-headers
RUN apk add --no-cache gcc musl-dev linux-headers libpq-dev
EXPOSE 5000
# COPY . .
RUN pip install --upgrade pip
RUN pip install -r /code/requirements.txt
CMD ["flask", "run", "--debug"]

View File

@ -17,7 +17,10 @@ services:
POSTGRES_USER: example
POSTGRES_PASSWORD: example
POSTGRES_DB: geotrack
web:
build: .
ports:
- "8000:5000"
adminer:
image: adminer
restart: always

View File

@ -1 +1,18 @@
flask
blinker==1.9.0
click==8.1.8
colorama==0.4.6
Flask==3.1.0
Flask-Cors==5.0.0
geographiclib==2.0
geojson==3.2.0
geopy==2.4.1
gpxpy==1.6.2
greenlet==3.1.1
itsdangerous==2.2.0
Jinja2==3.1.5
MarkupSafe==3.0.2
psycopg2==2.9.10
python-dotenv==1.0.1
SQLAlchemy==2.0.36
typing_extensions==4.12.2
Werkzeug==3.1.3