generated from OBJNULL/Dockerized-Rust
18 lines
299 B
Text
18 lines
299 B
Text
|
|
## 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"]
|