Imported production images

This commit is contained in:
Maddox Werts 2025-02-11 12:07:59 -05:00
parent b245edadf3
commit d72e65fd04
2 changed files with 24 additions and 0 deletions

17
docker/prod/Dockerfile Normal file
View file

@ -0,0 +1,17 @@
## 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"]

7
scripts/prod/docker.sh Executable file
View file

@ -0,0 +1,7 @@
# Clear Screen
clear
# Building image
docker build . \
-t stockmapi \
-f docker/prod/Dockerfile