Create a custom Dockerfile to decouple application dependencies from host.

* Create a dockerfile based on alpine.
* Create a start script to startup scraper.
This commit is contained in:
Chris Kiriakou
2025-03-19 16:56:23 +01:00
parent 00172dee0c
commit 9b9002e751
2 changed files with 32 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM alpine:latest
WORKDIR /root
RUN apk update && \
apk add --no-cache \
openssh \
python3 \
sqlite \
pip \
EXPOSE 80
EXPOSE 22
VOLUME /root/data
VOLUME /root/app
ENTRYPOINT /root/startup.sh;