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