update with new dockerfile settings
All checks were successful
/ Plan (push) Successful in 8s

This commit is contained in:
Dan Hamik 2024-11-25 13:11:57 -06:00
parent fb71eea7d2
commit 5b73d20751
2 changed files with 12 additions and 1 deletions

View File

@ -7,4 +7,6 @@ COPY libnotices.py /usr/local/bin/
COPY requirements.txt /
RUN pip3 install -r /requirements.txt
RUN chmod +x /usr/local/bin/libnotices.py
#COPY img/* /var/www/html/img/
RUN apt clean
EXPOSE 80
CMD ["cron && apache2ctl -D FOREGROUND"]

9
docker-compose.yml Normal file
View File

@ -0,0 +1,9 @@
services:
libnotices:
image: git.hamik.net/paradizelost/librarynotices:latest
container_name: libnotices
restart: always
ports: 80
volumes:
- "./libaccounts.json:/var/www/data/libaccounts.json"
- "./credentials:/root/.aws/credentials"