Skip to content

Instantly share code, notes, and snippets.

View klement97's full-sized avatar
🌍
Open for opportunities

Klement Omeri klement97

🌍
Open for opportunities
View GitHub Profile
@eduzen
eduzen / Dockerfile
Created May 19, 2019 18:35
Dockerfile for django/python with multistage builds based on alpine
FROM python:3.7-alpine as base
ENV PYTHONDONTWRITEBYTECODE 1
COPY requirements.txt requirements_dev.txt ./
RUN apk add --update --no-cache --virtual .build-deps \
build-base \
postgresql-dev \
libffi-dev \
python3-dev \