1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2025-09-04 04:50:14 +02:00

Fix wrong memcached version number and Docker min build

* Memcached version number was set wrong accidentally
* Installation of individual document storage client dependencies in Dockerfile made npm read entire package-lock again and install all dependencies
This commit is contained in:
Manuel 2021-02-15 18:00:15 +01:00
parent fe6697a6f1
commit c6b6d02360
Signed by: Manuel
GPG key ID: 4085037435E1F07A
3 changed files with 107 additions and 10 deletions

View file

@ -6,12 +6,12 @@ COPY . .
# Replace prod with prod-min to exclude the optional dbms dependencies
# and uncomment the needed one below to build a smaller Docker image.
RUN npm run prod
#RUN npm install pg
#RUN npm install aws-sdk
#RUN npm install memcached
#RUN npm install mongodb
#RUN npm install ioredis
#RUN npm install rethinkdbdash
#RUN npm install --no-package-lock pg
#RUN npm install --no-package-lock aws-sdk
#RUN npm install --no-package-lock memcached
#RUN npm install --no-package-lock mongodb
#RUN npm install --no-package-lock ioredis
#RUN npm install --no-package-lock rethinkdbdash
FROM mhart/alpine-node:slim-14
RUN apk add --no-cache curl