summaryrefslogtreecommitdiff
path: root/docker/sites-build/Dockerfile
blob: 99bdb421fb3e89f42b0fa23ab2973c53559b8802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM python:alpine

# Dependencies

COPY requirements.txt /

RUN pip install -r requirements.txt

# Install GIT

RUN apk add git

# Create the user

RUN adduser taler-websites --disabled-password

USER taler-websites

WORKDIR /home/taler-websites

# Execute when container run

ENTRYPOINT ./deployment/docker/sites-build/build-sites.sh