mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-11-24 08:42:24 +02: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
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user