mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-11-01 03:21:21 +00:00
Merge pull request #384 from brunosaboia/remove-trailing-spaces
Remove trailing whitespaces
This commit is contained in:
commit
7af15cc32d
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
Dockerfile
|
@ -3,11 +3,11 @@ FROM node:14.8.0-stretch
|
||||||
RUN mkdir -p /usr/src/app && \
|
RUN mkdir -p /usr/src/app && \
|
||||||
chown node:node /usr/src/app
|
chown node:node /usr/src/app
|
||||||
|
|
||||||
USER node:node
|
USER node:node
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
COPY --chown=node:node . .
|
COPY --chown=node:node . .
|
||||||
|
|
||||||
RUN npm install && \
|
RUN npm install && \
|
||||||
npm install redis@0.8.1 && \
|
npm install redis@0.8.1 && \
|
||||||
|
@ -25,7 +25,7 @@ ENV STORAGE_TYPE=memcached \
|
||||||
STORAGE_AWS_REGION= \
|
STORAGE_AWS_REGION= \
|
||||||
STORAGE_USENAME= \
|
STORAGE_USENAME= \
|
||||||
STORAGE_PASSWORD= \
|
STORAGE_PASSWORD= \
|
||||||
STORAGE_FILEPATH=
|
STORAGE_FILEPATH=
|
||||||
|
|
||||||
ENV LOGGING_LEVEL=verbose \
|
ENV LOGGING_LEVEL=verbose \
|
||||||
LOGGING_TYPE=Console \
|
LOGGING_TYPE=Console \
|
||||||
|
@ -47,11 +47,11 @@ ENV RATELIMITS_NORMAL_TOTAL_REQUESTS=500\
|
||||||
RATELIMITS_WHITELIST_EVERY_MILLISECONDS= \
|
RATELIMITS_WHITELIST_EVERY_MILLISECONDS= \
|
||||||
# comma separated list for the whitelisted \
|
# comma separated list for the whitelisted \
|
||||||
RATELIMITS_WHITELIST=example1.whitelist,example2.whitelist \
|
RATELIMITS_WHITELIST=example1.whitelist,example2.whitelist \
|
||||||
\
|
\
|
||||||
RATELIMITS_BLACKLIST_TOTAL_REQUESTS= \
|
RATELIMITS_BLACKLIST_TOTAL_REQUESTS= \
|
||||||
RATELIMITS_BLACKLIST_EVERY_MILLISECONDS= \
|
RATELIMITS_BLACKLIST_EVERY_MILLISECONDS= \
|
||||||
# comma separated list for the blacklisted \
|
# comma separated list for the blacklisted \
|
||||||
RATELIMITS_BLACKLIST=example1.blacklist,example2.blacklist
|
RATELIMITS_BLACKLIST=example1.blacklist,example2.blacklist
|
||||||
ENV DOCUMENTS=about=./about.md
|
ENV DOCUMENTS=about=./about.md
|
||||||
|
|
||||||
EXPOSE ${PORT}
|
EXPOSE ${PORT}
|
||||||
|
|
Loading…
Reference in a new issue