Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

dockerize django app

# syntax=docker/dockerfile:1
FROM python:3
ENV PYTHONUNBUFFERED=1
WORKDIR /code
COPY requirements.txt /code/
RUN pip install -r requirements.txt
COPY . /code/
Source by docs.docker.com #
 
PREVIOUS NEXT
Tagged: #dockerize #django #app
ADD COMMENT
Topic
Name
6+4 =