-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
45 lines (40 loc) · 815 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
FROM python:rc-alpine
# this is used to ensure the headless prep script only runs in the container
ENV sooper_sekret_key=1
# py deps
RUN pip3 install selenium pytest requests twilio pyyaml
# chromedriver deps
RUN apk update && apk add --no-cache bash \
alsa-lib \
at-spi2-atk \
atk \
cairo \
cups-libs \
dbus-libs \
eudev-libs \
expat \
flac \
gdk-pixbuf \
glib \
libgcc \
libjpeg-turbo \
libpng \
libwebp \
libx11 \
libxcomposite \
libxdamage \
libxext \
libxfixes \
tzdata \
libexif \
udev \
xvfb \
zlib-dev \
chromium \
chromium-chromedriver \
vim
COPY tests /tests
COPY deploy /deploy
COPY server.py /server.py
COPY server_params.yaml /server_params.yaml
ENTRYPOINT [ "/deploy/entrypoint.sh" ]