mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
entrypoint fix
This commit is contained in:
parent
63fd2ff079
commit
9e7e66a4aa
@ -12,11 +12,11 @@ RUN mkdir -p /app/data/config && \
|
|||||||
FROM node:12-alpine
|
FROM node:12-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
# command line arg orverride the config.json with these settings
|
# command line arg orverride the config.json with these settings
|
||||||
ENTRYPOINT ["npm", "start", "--",
|
ENTRYPOINT ["npm", "start", "--", \
|
||||||
"--config-path=/app/data/config/config.json",
|
"--config-path=/app/data/config/config.json", \
|
||||||
"--Server-Database-sqlite-storage='/app/data/db/sqlite.db'",
|
"--Server-Database-sqlite-storage='/app/data/db/sqlite.db'", \
|
||||||
"--Server-Database-memory-usersFile='/app/data/db/users.db'",
|
"--Server-Database-memory-usersFile='/app/data/db/users.db'", \
|
||||||
"--Server-Media-folder='/app/data/images'",
|
"--Server-Media-folder='/app/data/images'", \
|
||||||
"--Server-Media-tempFolder='/app/data/tmp'"]
|
"--Server-Media-tempFolder='/app/data/tmp'"]
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
@ -11,11 +11,11 @@ RUN mkdir -p /app/data/config && \
|
|||||||
FROM node:12-stretch-slim
|
FROM node:12-stretch-slim
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
# command line arg orverride the config.json with these settings
|
# command line arg orverride the config.json with these settings
|
||||||
ENTRYPOINT ["npm", "start", "--",
|
ENTRYPOINT ["npm", "start", "--", \
|
||||||
"--config-path=/app/data/config/config.json",
|
"--config-path=/app/data/config/config.json", \
|
||||||
"--Server-Database-sqlite-storage='/app/data/db/sqlite.db'",
|
"--Server-Database-sqlite-storage='/app/data/db/sqlite.db'", \
|
||||||
"--Server-Database-memory-usersFile='/app/data/db/users.db'",
|
"--Server-Database-memory-usersFile='/app/data/db/users.db'", \
|
||||||
"--Server-Media-folder='/app/data/images'",
|
"--Server-Media-folder='/app/data/images'", \
|
||||||
"--Server-Media-tempFolder='/app/data/tmp'"]
|
"--Server-Media-tempFolder='/app/data/tmp'"]
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
Loading…
x
Reference in New Issue
Block a user