From de604b9f3ada67dab6ff3426634242d74f7086d4 Mon Sep 17 00:00:00 2001 From: Matiss Janis Aboltins Date: Thu, 9 Nov 2023 07:53:19 +0000 Subject: [PATCH] :bug: (docker) add missing migrations folder (#275) --- Dockerfile | 1 + docker/edge-alpine.Dockerfile | 1 + docker/edge-ubuntu.Dockerfile | 1 + docker/stable-alpine.Dockerfile | 1 + docker/stable-ubuntu.Dockerfile | 1 + upcoming-release-notes/275.md | 6 ++++++ 6 files changed, 11 insertions(+) create mode 100644 upcoming-release-notes/275.md diff --git a/Dockerfile b/Dockerfile index 3749f2c6d..ba95a2a73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ WORKDIR /app COPY --from=base /app/node_modules /app/node_modules ADD package.json app.js ./ ADD src ./src +ADD migrations ./migrations ENTRYPOINT ["/usr/bin/tini","-g", "--"] EXPOSE 5006 CMD ["node", "app.js"] diff --git a/docker/edge-alpine.Dockerfile b/docker/edge-alpine.Dockerfile index 35d53f334..96c5bd18b 100644 --- a/docker/edge-alpine.Dockerfile +++ b/docker/edge-alpine.Dockerfile @@ -21,6 +21,7 @@ COPY --from=base /app/node_modules /app/node_modules COPY --from=base /public /public ADD package.json app.js ./ ADD src ./src +ADD migrations ./migrations ENTRYPOINT ["/sbin/tini","-g", "--"] ENV ACTUAL_WEB_ROOT=/public EXPOSE 5006 diff --git a/docker/edge-ubuntu.Dockerfile b/docker/edge-ubuntu.Dockerfile index f8dfa113a..56ab66ac4 100644 --- a/docker/edge-ubuntu.Dockerfile +++ b/docker/edge-ubuntu.Dockerfile @@ -20,6 +20,7 @@ COPY --from=base /app/node_modules /app/node_modules COPY --from=base /public /public ADD package.json app.js ./ ADD src ./src +ADD migrations ./migrations ENTRYPOINT ["/usr/bin/tini","-g", "--"] ENV ACTUAL_WEB_ROOT=/public EXPOSE 5006 diff --git a/docker/stable-alpine.Dockerfile b/docker/stable-alpine.Dockerfile index fc63a4020..39212df6c 100644 --- a/docker/stable-alpine.Dockerfile +++ b/docker/stable-alpine.Dockerfile @@ -12,6 +12,7 @@ WORKDIR /app COPY --from=base /app/node_modules /app/node_modules ADD package.json app.js ./ ADD src ./src +ADD migrations ./migrations ENTRYPOINT ["/sbin/tini","-g", "--"] EXPOSE 5006 CMD ["node", "app.js"] diff --git a/docker/stable-ubuntu.Dockerfile b/docker/stable-ubuntu.Dockerfile index 3749f2c6d..ba95a2a73 100644 --- a/docker/stable-ubuntu.Dockerfile +++ b/docker/stable-ubuntu.Dockerfile @@ -11,6 +11,7 @@ WORKDIR /app COPY --from=base /app/node_modules /app/node_modules ADD package.json app.js ./ ADD src ./src +ADD migrations ./migrations ENTRYPOINT ["/usr/bin/tini","-g", "--"] EXPOSE 5006 CMD ["node", "app.js"] diff --git a/upcoming-release-notes/275.md b/upcoming-release-notes/275.md new file mode 100644 index 000000000..b79ad26ee --- /dev/null +++ b/upcoming-release-notes/275.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [MatissJanis] +--- + +Fix: add missing migrations folder for docker