chore: mkdir and chown on one layer

This commit is contained in:
Matthew Lopez 2024-07-01 15:30:23 -04:00
parent d12c07cdee
commit 01ce92d1f2
No known key found for this signature in database
GPG Key ID: 302A6EE3D63B7E0E

View File

@ -34,8 +34,7 @@ RUN npm run build
FROM base AS final
ARG app_dir
RUN mkdir -p ${app_dir}/logs
RUN chown node:node ${app_dir}/logs
RUN mkdir -p ${app_dir}/logs && chown node:node ${app_dir}/logs
ENV NODE_ENV=production
USER node