This commit is contained in:
parent
8bf4403d21
commit
d1f77e8514
4 changed files with 69 additions and 0 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
FROM nginx:alpine
|
||||
|
||||
LABEL maintainer="Phil <phil@hackmi.ch>"
|
||||
LABEL description="Docker image for TFTP server using dnsmasq"
|
||||
|
||||
EXPOSE 80/tcp
|
||||
|
||||
VOLUME /log
|
||||
VOLUME /assets
|
||||
|
||||
COPY conf/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY conf/default /config/nginx/site-confs/default
|
||||
|
||||
RUN mkdir -p /assets && mkdir -p /log
|
||||
RUN touch /log/access.log && touch /log/error.log
|
||||
RUN chown -R nginx:nginx /assets
|
||||
RUN chown -R nginx:nginx /log
|
Loading…
Add table
Add a link
Reference in a new issue