-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
38 lines (34 loc) · 1.27 KB
/
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
FROM ubuntu:22.04
RUN mkdir -p /opt/videre \
&& apt-get update \
&& apt-get install -y --no-install-recommends build-essential zlib1g-dev libpq-dev libicu-dev \
&& apt-get install -y ca-certificates && update-ca-certificates \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ARG YESOD_SUPERUSER_USERNAME
ARG YESOD_SUPERUSER_PASSWORD
ARG YESOD_GOOGLE_CLIENT_ID
ARG YESOD_GOOGLE_CLIENT_SECRET
ARG YESOD_GCLOUD_PROJECT_ID
ARG YESOD_RTC_PEER_CONNECTION_CONFIG
ARG YESOD_DEMO_LANG=EN
ARG YESOD_GOOGLE_SITE_VERIFICATION
ARG YESOD_MS_VALIDATE
ARG YESOD_YANDEX_VERIFICATION
WORKDIR /opt/videre
COPY videre /opt/videre
COPY static /opt/videre/static
COPY config /opt/videre/config
ENV YESOD_PORT=8080
ENV YESOD_SUPERUSER_USERNAME=${YESOD_SUPERUSER_USERNAME}
ENV YESOD_SUPERUSER_PASSWORD=${YESOD_SUPERUSER_PASSWORD}
ENV YESOD_GOOGLE_CLIENT_ID=${YESOD_GOOGLE_CLIENT_ID}
ENV YESOD_GOOGLE_CLIENT_SECRET=${YESOD_GOOGLE_CLIENT_SECRET}
ENV YESOD_GCLOUD_PROJECT_ID=${YESOD_GCLOUD_PROJECT_ID}
ENV YESOD_RTC_PEER_CONNECTION_CONFIG=${YESOD_RTC_PEER_CONNECTION_CONFIG}
ENV YESOD_DEMO_LANG=${YESOD_DEMO_LANG}
ENV YESOD_GOOGLE_SITE_VERIFICATION=${YESOD_GOOGLE_SITE_VERIFICATION}
ENV YESOD_MS_VALIDATE=${YESOD_MS_VALIDATE}
ENV YESOD_YANDEX_VERIFICATION=${YESOD_YANDEX_VERIFICATION}
EXPOSE 8080
CMD ["./videre"]