17 lines
No EOL
412 B
Docker
17 lines
No EOL
412 B
Docker
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 |