blob: 66952dcca74b5f93535054c75f06db58464aaec6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
FROM ubuntu:18.04
RUN apt update && apt install -y --no-install-recommends socat gcc make libc6-dev libc6 libc-dev-bin
RUN addgroup --system service
RUN adduser --system --ingroup service --uid 1000 service
COPY entrypoint.sh /
RUN chmod 755 /entrypoint.sh
COPY cleaner.sh /
RUN chmod 755 /cleaner.sh
COPY src/ /service/
WORKDIR /service/
RUN make clean && make
EXPOSE 9000
ENV RESULTDIR=/data/uploads
ENTRYPOINT ["/entrypoint.sh"]
|