forked from j3ssie/osmedeus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
18 lines (18 loc) · 812 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM golang:1.12.4-stretch
RUN sed -i 's/main/main contrib non-free/' /etc/apt/sources.list && \
echo "deb http://ftp.debian.org/debian/ stretch-backports main contrib non-free" > /etc/apt/sources.list.d/backports.list
WORKDIR /home/Osmedeus
RUN apt-get update && \
apt-get -qq -t stretch-backports install npm && \
apt-get -qq install locales git sudo wget python3-pip python-pip libcurl4-openssl-dev && \
git clone --depth 1 https://github.com/j3ssie/Osmedeus . && \
./install.sh && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen
ENV LANG="en_US.UTF-8" \
LANGUAGE="en_US:en" \
LC_ALL="en_US.UTF-8"
EXPOSE 5000
ENTRYPOINT ["python3", "core/app.py", "-b", "0.0.0.0", "-p", "5000"]