From f44b2e83446b69954f830852f542c7cbbf87dedc Mon Sep 17 00:00:00 2001 From: Hossain Chisty Date: Fri, 3 Nov 2023 05:48:16 -0700 Subject: [PATCH] Delete Dockerfile.build --- Dockerfile.build | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 Dockerfile.build diff --git a/Dockerfile.build b/Dockerfile.build deleted file mode 100644 index 0846ee3..0000000 --- a/Dockerfile.build +++ /dev/null @@ -1,35 +0,0 @@ -# pull official base image -FROM python:3.9-slim-bullseye - -# set work directory -WORKDIR /app - -# set environment variables -ENV PYTHONDONTWRITEBYTECODE 1 -ENV PYTHONUNBUFFERED 1 - -# install system dependencies -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ - build-essential \ - pkg-config \ - libcairo2-dev \ - libgirepository1.0-dev \ - && rm -rf /var/lib/apt/lists/* - -# install dependencies -COPY requirements.txt . -RUN python -m pip install --upgrade pip \ - && pip install --no-cache-dir --upgrade pip setuptools \ - && pip install --no-cache-dir --only-binary :all: psutil reportlab \ - && pip install --no-cache-dir -r requirements.txt - -# copy project -COPY . . - -# Set the port number to use -EXPOSE 8080 - -# Start the Django server -CMD python manage.py runserver 0.0.0.0:8080 -