Skip to content

Commit 195e8a9

Browse files
committed
Update deployment
1 parent 1431818 commit 195e8a9

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ENV PYTHONFAULTHANDLER=1 \
77
WORKDIR /app
88

99
RUN apt-get update && \
10-
apt-get install -y --no-install-recommends curl=8.7.1 && \
10+
apt-get install -y --no-install-recommends curl=7.88.1-* && \
1111
rm -rf /var/lib/apt/lists/*
1212

1313

@@ -25,7 +25,7 @@ ENV PIP_DEFAULT_TIMEOUT=100 \
2525

2626
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
2727

28-
RUN :8.7.1 -sSL https://install.python-poetry.org | python3 -
28+
RUN curl -sSL https://install.python-poetry.org | python3 -
2929

3030
WORKDIR /app
3131

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
# LibDB
22

33
A simple library manager, mostly built as a project to learn about Flask.
4+
5+
## Setup
6+
7+
At minimum, an env variable of `LIBDB_SETTINGS_FILE` must be set.

gunicorn.conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
import multiprocessing
44

55
bind = "127.0.0.1:8000"
6-
workers = multiprocessing.cpu_count() * 2 + 1
6+
# workers = multiprocessing.cpu_count() * 2 + 1
7+
workers = 1

0 commit comments

Comments
 (0)