I’m a seasoned software professional with over six years of hands-on expertise. Proficient in PHP, Laravel, JavaScript (including AngularJS), Python, Django, server management, DevOps, HTML, and CSS, I specialize in creating scalable, high-quality solutions.
My background spans both front-end and back-end development, crafting efficient code to deliver exceptional user experiences. At Outcode, I thrive in collaborative environments, driving project success by integrating emerging technologies and optimizing development processes.
I’m passionate about continuous learning, problem-solving, and leveraging my skills to contribute to innovative projects in the ever-evolving software landscape.
Overview In this blog, we will learn to dockerize a django project and deploy it in Ec2.
Project Setup first install a django project
The structure should look sth like:
add dockerfile
FROM python:3.10-alpine
ENV PYTHONUNBUFFERED=1
RUN apk update
&& apk add –no-cache –virtual .build-deps
ca-certificates gcc linux-headers musl-dev
libffi-dev jpeg-dev zlib-dev libc-dev
postgresql-dev cargo
RUN pip install –upgrade pip
RUN addgroup test_user && adduser -D test_user -G test_user -h /home/test_user
ENV HOME /home/test_user
ENV APP_DIR ${HOME}/myproject
WORKDIR ${APP_DIR}
ADD requirements.txt ${APP_DIR}/
RUN...
Senior Software Engineer @ Outcode Nepal
Software Engineer @ InsightWorkshop Nepal
Software Engineer @ IntroCept Nepal
Associate Software Engineer @ IntroCept Nepal
Junior Web Developer @ Element7 Digital
Drop me an email if you are interested in me coding for you or saving your neighborhood!