## BACKEND ##
# Parent Image
FROM debian

# Directories
WORKDIR /srv

# Installing Deps
RUN apt update -y
RUN apt install -y wget build-essential libssl-dev pkg-config

# Copying executable
COPY build/stockmapi /bin/stockmapi
RUN chmod +x /bin/stockmapi

## RUNTIME ##
ENTRYPOINT ["/bin/stockmapi"]
