did stuff
This commit is contained in:
parent
086bd8bff6
commit
b04ffdc2d4
@ -11,8 +11,10 @@ COPY --from=0 /web /code/web
|
|||||||
ENV FLASK_APP=app.py
|
ENV FLASK_APP=app.py
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
ENV FLASK_RUN_HOST=0.0.0.0
|
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
|
EXPOSE 5000
|
||||||
# COPY . .
|
# COPY . .
|
||||||
|
RUN pip install --upgrade pip
|
||||||
RUN pip install -r /code/requirements.txt
|
RUN pip install -r /code/requirements.txt
|
||||||
CMD ["flask", "run", "--debug"]
|
CMD ["flask", "run", "--debug"]
|
||||||
|
@ -17,7 +17,10 @@ services:
|
|||||||
POSTGRES_USER: example
|
POSTGRES_USER: example
|
||||||
POSTGRES_PASSWORD: example
|
POSTGRES_PASSWORD: example
|
||||||
POSTGRES_DB: geotrack
|
POSTGRES_DB: geotrack
|
||||||
|
web:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "8000:5000"
|
||||||
adminer:
|
adminer:
|
||||||
image: adminer
|
image: adminer
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user