「✨」 feat(Mariadb): Started dockerfile
This commit is contained in:
@ -4,20 +4,23 @@ LABEL version="0.1"
|
||||
LABEL maintainer="KeyZox"
|
||||
|
||||
RUN set -x \
|
||||
&& apk update \
|
||||
&& addgroup -g 101 -S nginx\
|
||||
&& adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx \
|
||||
&& apk add nginx \
|
||||
&& apk add --no-cache nginx \
|
||||
&& ln -sf /dev/stdout /var/log/nginx/access.log \
|
||||
&& ln -sf /dev/stderr /var/log/nginx/error.log \
|
||||
&& apk add --no-cache tzdata
|
||||
|
||||
STOPSIGNAL SIGQUIT
|
||||
WORKDIR /etc/nginx
|
||||
VOLUME /etc/nginx
|
||||
RUN mkdir -P /etc/nginx/sites-available
|
||||
|
||||
COPY docker-entrypoint.sh /
|
||||
RUN [ "chmod", "+x", "/docker-entrypoint.sh" ]
|
||||
|
||||
ENTRYPOINT [ "/docker-entrypoint.sh" ]
|
||||
WORKDIR /etc/nginx
|
||||
STOPSIGNAL SIGQUIT
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD [ "nginx", "-g", "daemon off;" ]
|
||||
|
@ -1 +1,3 @@
|
||||
echo WTF
|
||||
#!/bin/sh
|
||||
|
||||
exec "$@"
|
||||
|
Reference in New Issue
Block a user