first commit
This commit is contained in:
17
Dockerfile.prod
Normal file
17
Dockerfile.prod
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM python:3.12-bullseye
|
||||
|
||||
ENV PYTHONFAULTHANDLER=1
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
RUN mkdir -p /app
|
||||
|
||||
COPY requirements.txt /app
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
EXPOSE 8001
|
||||
|
||||
COPY . /app
|
||||
Reference in New Issue
Block a user