From 43792d87b2c85d3ab3df76a626abc17b126cc2ba Mon Sep 17 00:00:00 2001 From: hippoz <10706925-hippoz@users.noreply.gitlab.com> Date: Tue, 8 Aug 2023 23:00:25 +0300 Subject: [PATCH] docker madness --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c44fda7..8325c84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ COPY --from=frontend-compiler /app/frontend/public ./frontend/public RUN echo "JWT_SECRET=$(openssl rand -base64 256 | tr -d '\n')" > .env USER node USER root -RUN mkdir -p /var/lib/waffle/uploads && chown -R node /var/lib/waffle/uploads VOLUME /var/lib/waffle +RUN mkdir -p /var/lib/waffle/uploads && chown -R node /var/lib/waffle/uploads USER node CMD [ "/bin/sh", "-c", "node index.js" ]