mirror of
https://github.com/linuxserver/docker-nginx.git
synced 2026-02-11 21:08:32 +08:00
Removed the import of removed sample data
This commit is contained in:
parent
0465404534
commit
0b50e5262f
15
Dockerfile
15
Dockerfile
@ -9,20 +9,7 @@ apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
|
||||
|
||||
#Adding Custom files
|
||||
RUN mkdir /defaults
|
||||
ADD init/ /etc/my_init.d/
|
||||
ADD services/ /etc/service/
|
||||
ADD cron/ /etc/cron.d/
|
||||
ADD defaults/ /defaults/
|
||||
RUN chmod -v +x /etc/service/*/run && chmod -v +x /etc/my_init.d/*.sh
|
||||
|
||||
|
||||
# Volumes and Ports
|
||||
VOLUME /config
|
||||
EXPOSE 80 443
|
||||
|
||||
## NOTES ##
|
||||
## Delete files\folders not needed, e.g. if you dont run any cron commands, delete the cron folder and the "ADD cron/ /etc/cron.d/" line.
|
||||
## The User abc, should be running everything, give that permission in any case you need it.
|
||||
## Do not upgrade the baseimage before we get a chance to look at it from a wholeheartly perspective.
|
||||
## When creating init's Use 10's where posible, its to allow add stuff in between when needed. also, do not be afraid to split custom code into several little ones.
|
||||
## Make stuff as quiet as posible "e.g. apt-get update -qq" (Does not apply to the "app" itself. e.g. plex)
|
||||
EXPOSE 80 443
|
||||
Loading…
x
Reference in New Issue
Block a user