aboutsummaryrefslogtreecommitdiffstats
path: root/service/Dockerfile
blob: 68a3d9fdc6b4f398c3bfb1c80720fb5d360b2982 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ubuntu:18.04

RUN apt update && apt install -y --no-install-recommends socat

RUN addgroup --system service
RUN adduser --system --ingroup service --uid 1000 service

RUN mkdir /data

COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh

COPY src/ /service/

WORKDIR /service/
EXPOSE 9000

ENTRYPOINT ["/entrypoint.sh"]