From 11a5817f2e99b7ff50a1af2ad4ef3b3984e30ca5 Mon Sep 17 00:00:00 2001 From: Matthew Lopez <73856503+MatthewL246@users.noreply.github.com> Date: Sun, 23 Jun 2024 21:30:58 -0400 Subject: [PATCH] Fix account Dockerfile --- patches/account/dockerfile-update.patch | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/patches/account/dockerfile-update.patch b/patches/account/dockerfile-update.patch index 4408561..ee1d0c0 100644 --- a/patches/account/dockerfile-update.patch +++ b/patches/account/dockerfile-update.patch @@ -12,10 +12,10 @@ index 7a2fc0a..19cdd91 100644 +dist +logs diff --git i/Dockerfile w/Dockerfile -index a810a90..4f2eb80 100644 +index a810a90..25e1b0a 100644 --- i/Dockerfile +++ w/Dockerfile -@@ -1,16 +1,45 @@ +@@ -1,16 +1,48 @@ -FROM node:18-alpine +# syntax=docker/dockerfile:1 @@ -62,6 +62,9 @@ index a810a90..4f2eb80 100644 +FROM base AS final +ARG app_dir + ++RUN mkdir -p ${app_dir}/logs ++RUN chown node:node ${app_dir}/logs ++ +ENV NODE_ENV production +USER node +