work #1
@ -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
10
docker-compose.yml
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user