mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-13 09:17:30 -05:00
First Commit
This commit is contained in:
31
mongo/Dockerfile
Normal file
31
mongo/Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user