This image is the image of my website, built on Django.
1.2K
This image is the image of my website, build on Django for the backend, HTML, CSS, and Javascript for the frontend, and operating on the default database sqlite3. The latest image has a bug(on purpose) that a Django developer can work around to fix. The other versions (version 2.0.0 at the time of updating this overview) works as expected. To run the image, use the commands:
docker run --name preferred-name -d -p8000:8000 dannywangari/dtechnologies:tag
docker run --name dtechweb -d -p8000:8000 dannywangari/dtechnologies:2.0.0
In the given example, a name has been given, and exposed to port 8000. To map it to a different port, you consider running the command below: This maps port 80 on the host machine to port 8000 inside the container
docker run --name dtechweb -d -p80:8000 dannywangari/dtechnologies:2.0.0
FROM python:3
ENV PYTHONUNBUFFERED 1
WORKDIR /app COPY requirements.txt ./
RUN pip install --upgrade pip RUN pip install -r requirements.txt
COPY . ./
EXPOSE 8000
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
Content type
Image
Digest
sha256:b41d3a9dd…
Size
456.2 MB
Last updated
almost 4 years ago
docker pull dannywangari/dtechnologies