First Commit

This commit is contained in:
Luke Berndt
2020-06-09 22:11:11 -04:00
parent 8f49aa463c
commit 3b0d3f290f
551 changed files with 193130 additions and 2 deletions

31
mongo/Dockerfile Normal file
View File

@@ -0,0 +1,31 @@
# Create proxy container for www.example.com
#
# docker build -t mongo .
FROM mongo:3.4
MAINTAINER Luke Berndt <lukekb@gmail.com>
# Set timezone
RUN echo "America/New_York" > /etc/timezone \
&& dpkg-reconfigure -f noninteractive tzdata
# Add main NGINX config
RUN mkdir -p /app
ADD trim.js /app
ADD totals.js /app
ADD init_test_db.js /app
ADD upgrade_db_admin.js /app
ADD permissions.js /app
ADD errors.js /app
ADD clean.js /app
# Add crontab file in the cron directory
#ADD crontab /etc/cron.d/trim-cron
# Give execution rights on the cron job
#RUN chmod 0644 /etc/cron.d/trim-cron
# Run the command on container startup
#CMD cron
WORKDIR /app