]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - Dockerfile
Fix YAML anchors
[github/bastienwirtz/homer.git] / Dockerfile
index 0e9d51a30ce240177c0306ca29d5892e08685e9b..2e2e4934bec5930ad713323ae70f4bcf8bfc04e1 100644 (file)
@@ -10,7 +10,7 @@ COPY . .
 RUN yarn build
 
 # production stage
-FROM alpine:3.15
+FROM alpine:3.18
 
 ENV GID 1000
 ENV UID 1000
@@ -26,7 +26,7 @@ WORKDIR /www
 COPY lighttpd.conf /lighttpd.conf
 COPY entrypoint.sh /entrypoint.sh
 COPY --from=build-stage --chown=${UID}:${GID} /app/dist /www/
-COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets
+COPY --from=build-stage --chown=${UID}:${GID} /app/dist/assets /www/default-assets
 
 USER ${UID}:${GID}
 
@@ -34,6 +34,5 @@ HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
     CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1
 
 EXPOSE ${PORT}
-VOLUME /www/assets
 
 ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]