initial
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@ -0,0 +1,19 @@
|
||||
FROM python:3.12.2-slim-bookworm
|
||||
|
||||
RUN echo "**** install runtime dependencies ****"
|
||||
RUN apt update
|
||||
|
||||
ADD requirements.txt .
|
||||
RUN python -m pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
WORKDIR /app
|
||||
ADD . /app
|
||||
RUN mkdir -p /app/logs
|
||||
|
||||
RUN chmod 777 /app/resources/docker-entrypoint.sh
|
||||
|
||||
EXPOSE 8080
|
||||
ENV PYTHONUNBUFFERED True
|
||||
|
||||
ENTRYPOINT ["/app/resources/docker-entrypoint.sh"]
|
||||
CMD ["python", "main.py"]
|
||||
Reference in New Issue
Block a user