Update changelog

This commit is contained in:
Alejandro Celaya 2024-01-30 18:07:44 +01:00
parent 92b12e708c
commit 713c13f502
2 changed files with 19 additions and 1 deletions

View file

@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org).
## [Unreleased]
### Added
* *Nothing*
### Changed
* *Nothing*
### Deprecated
* *Nothing*
### Removed
* *Nothing*
### Fixed
* [#1046](https://github.com/shlinkio/shlink-web-client/issues/1046) Fix running docker image when server env vars are provided.
## [4.0.0] - 2024-01-29 ## [4.0.0] - 2024-01-29
### Added ### Added
* [shlink-web-component #7](https://github.com/shlinkio/shlink-web-component/issues/7) Allow comparing visits for multiple short URLs, tags or domains. * [shlink-web-component #7](https://github.com/shlinkio/shlink-web-component/issues/7) Allow comparing visits for multiple short URLs, tags or domains.

View file

@ -7,6 +7,7 @@ RUN cd /shlink-web-client && npm ci && npm run build
FROM nginxinc/nginx-unprivileged:1.25-alpine FROM nginxinc/nginx-unprivileged:1.25-alpine
ARG UID=101 ARG UID=101
LABEL maintainer="Alejandro Celaya <alejandro@alejandrocelaya.com>" LABEL maintainer="Alejandro Celaya <alejandro@alejandrocelaya.com>"
USER root USER root
RUN rm -r /usr/share/nginx/html && rm /etc/nginx/conf.d/default.conf RUN rm -r /usr/share/nginx/html && rm /etc/nginx/conf.d/default.conf
COPY config/docker/nginx.conf /etc/nginx/conf.d/default.conf COPY config/docker/nginx.conf /etc/nginx/conf.d/default.conf
@ -15,7 +16,7 @@ COPY --from=node /shlink-web-client/build /usr/share/nginx/html
# This is required by 30-shlink-servers-json.sh to be writable for UID # This is required by 30-shlink-servers-json.sh to be writable for UID
RUN echo '[]' > /usr/share/nginx/html/servers.json \ RUN echo '[]' > /usr/share/nginx/html/servers.json \
&& chown $UID:0 /usr/share/nginx/html/servers.json && chown $UID:0 /usr/share/nginx/html/servers.json
# Switch to non-privileged UID as the last step # Switch to non-privileged UID as the last step
USER $UID USER $UID