aboutsummaryrefslogtreecommitdiff
path: root/{{cookiecutter.project_name}}/docker/Dockerfile
blob: b7750dcc74d2de12a7b7ede6065dc84e35487075 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM ubuntu:16.04

# Set a term for terminal inside the container, can't clear without it
ENV TERM screen-256color
ENV DEBIAN_FRONTEND noninteractive


# Update and install
RUN apt-get update && apt-get install -y \
      wget \
      locales

# Generally a good idea to have these, extensions sometimes need them
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

# The code is stored here
WORKDIR /usr/src/app
# Copy code into image for distribution
COPY . /usr/src/app