Web inicial de Anda Que No Sabes Ná
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
FROM nginx:1.27-alpine
|
||||
RUN apk add --no-cache python3 py3-pillow
|
||||
COPY public/ /usr/share/nginx/html/
|
||||
COPY build.py /app/build.py
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
ENV SITE_DIR=/usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
HEALTHCHECK --interval=30s --timeout=3s CMD wget -qO- http://127.0.0.1/ >/dev/null || exit 1
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user