summary refs log tree commit diff
path: root/Dockerfile
blob: 0e03041f350b123476e232db1e427959aabcdc9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM alpine:latest

RUN apk add --update --no-cache go git make musl-dev curl openssl
RUN mkdir -p /app/src
WORKDIR /app/src
COPY appbuild.sh /app/src
RUN chmod +x appbuild.sh
RUN ./appbuild.sh
COPY intercept.key /app
COPY intercept.csr /app
COPY intercept.crt /app

WORKDIR /
COPY entrypoint.sh /
RUN chmod +x entrypoint.sh
EXPOSE 3000
RUN ip addr
ENTRYPOINT ./entrypoint.sh