feat: Docker setup
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM python:3.14-alpine
|
||||
|
||||
WORKDIR /fridge
|
||||
COPY app/ app
|
||||
COPY pyproject.toml .
|
||||
|
||||
RUN pip install .
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
ENTRYPOINT ["gunicorn", "app.main:app", "--bind", "0.0.0.0:8000", "--workers", "1"]
|
||||
Reference in New Issue
Block a user