From 219e062219ffb79bc31d6f73d3baf043ff0eb2ca Mon Sep 17 00:00:00 2001 From: and-ratajski Date: Fri, 17 Mar 2023 10:43:52 +0100 Subject: [PATCH] Fixed 'logs' folder creation error --- .docker/production.Dockerfile | 1 + app/.env.example | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.docker/production.Dockerfile b/.docker/production.Dockerfile index fb237dd..cb818b1 100644 --- a/.docker/production.Dockerfile +++ b/.docker/production.Dockerfile @@ -22,6 +22,7 @@ COPY --chown=node:node --from=build-base /app/dist /app/dist COPY --chown=node:node --from=prod-modules /app/prod_node_modules /app/node_modules ENV NODE_ENV ${node_env_type} +RUN mkdir -p /app/logs USER node ENTRYPOINT [ "node" ] diff --git a/app/.env.example b/app/.env.example index f840635..daa9950 100644 --- a/app/.env.example +++ b/app/.env.example @@ -1,6 +1,6 @@ ## Application settings APP_NAME=cx-traefik-forward-auth -APP_VERSION=1.1.0 +APP_VERSION=1.1.1 APP_PORT=4181 ## Environment settings