mirror of
https://github.com/linuxserver/docker-nginx.git
synced 2026-02-11 21:08:32 +08:00
Added packages and stuff, and other config's
This commit is contained in:
parent
feb11d3308
commit
251929c090
12
Dockerfile
12
Dockerfile
@ -1,11 +1,9 @@
|
||||
FROM linuxserver/baseimage
|
||||
MAINTAINER Your Name <your@email.com>
|
||||
FROM linuxserver/baseimage-nginx
|
||||
MAINTAINER Stian Larsen <lonix@linuxserver.io>
|
||||
|
||||
#Applying stuff
|
||||
RUN apt-get update -q && \
|
||||
##DO STUFF HERE
|
||||
## END EACH LINE WITH && \
|
||||
## EXCEPT THE LINE BELOW
|
||||
apt-get install php5-fpm php5-mysql php5-mcrypt php5-curl php5-gd php5-cgi php5-pgsql php5-sqlite && \
|
||||
apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
|
||||
|
||||
|
||||
@ -19,8 +17,8 @@ RUN chmod -v +x /etc/service/*/run && chmod -v +x /etc/my_init.d/*.sh
|
||||
|
||||
|
||||
# Volumes and Ports
|
||||
VOLUME /volume
|
||||
EXPOSE PORT
|
||||
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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user