add: nginx configurations

This commit is contained in:
2024-02-17 15:35:41 +01:00
parent 4a16837cbe
commit 4fde4c4816
6 changed files with 91 additions and 6 deletions

View File

@ -11,6 +11,8 @@ FROM nginx:1.25-alpine
WORKDIR /usr/share/nginx/html
COPY --from=build /opt/blog/public /usr/share/nginx/html/
COPY nginx/nginx.conf /etc/nginx/nginx.conf
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
RUN apk update && \
apk add --no-cache ca-certificates libc6-compat libstdc++ git