diff --git a/docker/alpine/Dockerfile.build b/docker/alpine/Dockerfile.build index 39842603..8a9ed202 100644 --- a/docker/alpine/Dockerfile.build +++ b/docker/alpine/Dockerfile.build @@ -12,11 +12,11 @@ RUN mkdir -p /app/data/config && \ FROM node:12-alpine WORKDIR /app # command line arg orverride the config.json with these settings -ENTRYPOINT ["npm", "start", "--", - "--config-path=/app/data/config/config.json", - "--Server-Database-sqlite-storage='/app/data/db/sqlite.db'", - "--Server-Database-memory-usersFile='/app/data/db/users.db'", - "--Server-Media-folder='/app/data/images'", +ENTRYPOINT ["npm", "start", "--", \ + "--config-path=/app/data/config/config.json", \ + "--Server-Database-sqlite-storage='/app/data/db/sqlite.db'", \ + "--Server-Database-memory-usersFile='/app/data/db/users.db'", \ + "--Server-Media-folder='/app/data/images'", \ "--Server-Media-tempFolder='/app/data/tmp'"] EXPOSE 80 ENV NODE_ENV=production diff --git a/docker/debian-stretch/Dockerfile.build b/docker/debian-stretch/Dockerfile.build index e87a9666..a01569f8 100644 --- a/docker/debian-stretch/Dockerfile.build +++ b/docker/debian-stretch/Dockerfile.build @@ -11,11 +11,11 @@ RUN mkdir -p /app/data/config && \ FROM node:12-stretch-slim WORKDIR /app # command line arg orverride the config.json with these settings -ENTRYPOINT ["npm", "start", "--", - "--config-path=/app/data/config/config.json", - "--Server-Database-sqlite-storage='/app/data/db/sqlite.db'", - "--Server-Database-memory-usersFile='/app/data/db/users.db'", - "--Server-Media-folder='/app/data/images'", +ENTRYPOINT ["npm", "start", "--", \ + "--config-path=/app/data/config/config.json", \ + "--Server-Database-sqlite-storage='/app/data/db/sqlite.db'", \ + "--Server-Database-memory-usersFile='/app/data/db/users.db'", \ + "--Server-Media-folder='/app/data/images'", \ "--Server-Media-tempFolder='/app/data/tmp'"] EXPOSE 80 ENV NODE_ENV=production