#syntax=docker/dockerfile:1 | |
FROM ubuntu:20.04 | |
RUN apt update && apt install -y --no-install-recommends \ | |
build-essential \ | |
curl \ | |
git \ | |
unzip \ | |
python3 \ | |
python3-dev \ | |
python3-venv \ | |
python3-pip | |
COPY . /opt/enodebd | |
WORKDIR /opt/enodebd | |
RUN make venv && make install-protoc && make proto | |
EXPOSE 8080 48080 | |
CMD ["venv/bin/python", "main.py"] |