Add CI and related fixes (#1)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #1 Co-authored-by: Juanjo Gutiérrez <juanjo@gutierrezdequevedo.com> Co-committed-by: Juanjo Gutiérrez <juanjo@gutierrezdequevedo.com>
This commit is contained in:
parent
50d66c2985
commit
df5b0b4400
6 changed files with 87 additions and 9 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FROM python:3.14-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["python", "-m", "gunicorn", "app:app", "--access-logfile", "-", "-b", "0.0.0.0:8000"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue