Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions {{ cookiecutter.repo_name }}/docker/dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
FROM python:3.8-slim-buster

ENV PATH ${PATH}:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV DEBIAN_FRONTEND noninteractive

WORKDIR /home
Expand All @@ -13,11 +10,9 @@ RUN apt-get clean && apt-get update \
&& apt-get install -y apt-utils

RUN apt-get install -y gnupg \
zlibc \
software-properties-common \
locales-all
build-essential

RUN pip install --upgrade setuptools wheel
RUN pip install setuptools wheel cython

COPY requirements.txt requirements_dev.txt ./

Expand Down
9 changes: 2 additions & 7 deletions {{ cookiecutter.repo_name }}/docker/prod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
FROM python:3.8-slim-buster

ENV PATH ${PATH}:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV DEBIAN_FRONTEND noninteractive

WORKDIR /home
Expand All @@ -13,11 +10,9 @@ RUN apt-get clean && apt-get update \
&& apt-get install -y apt-utils

RUN apt-get install -y gnupg \
zlibc \
software-properties-common \
locales-all
build-essential

RUN pip install --upgrade setuptools wheel
RUN pip install setuptools wheel cython

COPY requirements.txt ./

Expand Down