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:
parent
fe6697a6f1
commit
c6b6d02360
3 changed files with 107 additions and 10 deletions
12
Dockerfile
12
Dockerfile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue