-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
30 lines (25 loc) · 954 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
# ------------------------------------------------------------------------------
# Start with a base image
# ------------------------------------------------------------------------------
FROM ubuntu:16.04
LABEL maintainer "Petr Cervenka <[email protected]>"
LABEL version="0.5"
ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN true
# ------------------------------------------------------------------------------
# Provision the server
# ------------------------------------------------------------------------------
ENV DISPLAY :20.0
ENV SCREEN_GEOMETRY "2304x1440x24+32"
ENV CHROMEDRIVER_PORT 9515
ENV CHROMEDRIVER_WHITELISTED_IPS ""
ENV CHROMEDRIVER_URL_BASE ""
RUN mkdir /provision
ADD provision /provision
RUN /provision/provision.sh
ADD ./etc/supervisord.conf /etc/
ADD ./etc/supervisor /etc/supervisor
VOLUME [ "/var/log/supervisor" ]
# CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]
EXPOSE 5900
EXPOSE 8081