fix: Update python requirements
Some checks failed
Build Docker / Build Main Image (push) Successful in 17s
Build Docker / Build SLDs Image (push) Failing after 17s

This commit is contained in:
Nathan Woodburn 2023-11-08 18:20:58 +11:00
parent bb8687df09
commit 55152f3f72
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 2 additions and 3 deletions

View File

@ -2,14 +2,13 @@ FROM --platform=$BUILDPLATFORM python:3.10-alpine AS builder
WORKDIR /app WORKDIR /app
COPY requirements.txt /app COPY ../requirements.txt /app/requirements.txt
RUN --mount=type=cache,target=/root/.cache/pip \ RUN --mount=type=cache,target=/root/.cache/pip \
pip3 install -r requirements.txt pip3 install -r requirements.txt
COPY . /app COPY . /app
COPY ../templates /app/templates COPY ../templates /app/templates
COPY ../.env /app/.env COPY ../.env /app/.env
COPY ../requirements.txt /app/requirements.txt
# Add mount point for data volume # Add mount point for data volume
VOLUME /data VOLUME /data

View File

@ -33,7 +33,7 @@ if __name__ == '__main__':
workers = int(workers) workers = int(workers)
threads = int(threads) threads = int(threads)
options = { options = {
'bind': '0.0.0.0:5001', 'bind': '0.0.0.0:5000',
'workers': workers, 'workers': workers,
'threads': threads, 'threads': threads,
} }