Compare commits

..

3 Commits

Author SHA1 Message Date
fe9da6064d Merge pull request 'work' (#1) from work into main
Some checks failed
/ Plan (push) Has been cancelled
Reviewed-on: #1
2024-11-25 13:13:30 -06:00
58703478e0 Updated Compose file
All checks were successful
/ Plan (push) Successful in 7s
/ Plan (pull_request) Successful in 50s
2024-11-25 13:12:55 -06:00
5b73d20751 update with new dockerfile settings
All checks were successful
/ Plan (push) Successful in 8s
2024-11-25 13:11:57 -06:00
2 changed files with 13 additions and 1 deletions

View File

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

10
docker-compose.yml Normal file
View File

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