remove liara.json & workflow/liara.yaml - add Dockerfile & docker-compose file

This commit is contained in:
2025-10-18 10:46:54 +03:30
parent 5a2fe5243b
commit d4e14a1e51
8 changed files with 97 additions and 46 deletions

24
Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
# pull official base image
FROM python:3.10.0-slim-buster
# Create the app directory
RUN mkdir /app
# set work directory
WORKDIR app/
# set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
# install dependencies
RUN pip install --upgrade pip
COPY ./requirements.txt /app/
RUN pip install -r requirements.txt
# copy project
COPY . /app/
EXPOSE 5000
CMD ["python", "manage.py", "runserver", "0.0.0.0:5000"]