fix: Update python requirements
This commit is contained in:
parent
bb8687df09
commit
55152f3f72
@ -2,14 +2,13 @@ FROM --platform=$BUILDPLATFORM python:3.10-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt /app
|
||||
COPY ../requirements.txt /app/requirements.txt
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
pip3 install -r requirements.txt
|
||||
|
||||
COPY . /app
|
||||
COPY ../templates /app/templates
|
||||
COPY ../.env /app/.env
|
||||
COPY ../requirements.txt /app/requirements.txt
|
||||
|
||||
# Add mount point for data volume
|
||||
VOLUME /data
|
||||
|
@ -33,7 +33,7 @@ if __name__ == '__main__':
|
||||
workers = int(workers)
|
||||
threads = int(threads)
|
||||
options = {
|
||||
'bind': '0.0.0.0:5001',
|
||||
'bind': '0.0.0.0:5000',
|
||||
'workers': workers,
|
||||
'threads': threads,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user