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"]