blob: c15fdf0bce31fe1be9db257fc699ae67e4685516 [file] [log] [blame]
Wei-Yu Chenb91af852022-03-15 22:24:49 +08001#syntax=docker/dockerfile:1
2
3FROM ubuntu:20.04
4RUN apt update && apt install -y --no-install-recommends \
5 build-essential \
6 curl \
7 git \
8 unzip \
9 python3 \
10 python3-dev \
11 python3-venv \
12 python3-pip
13
14COPY . /opt/enodebd
15WORKDIR /opt/enodebd
16RUN make venv && make install-protoc && make proto
Wei-Yu Chenf90b16b2022-05-24 22:04:41 +080017
18EXPOSE 8080 48080
19CMD ["venv/bin/python", "main.py"]