1
0
Fork 0
mirror of https://github.com/seejohnrun/haste-server.git synced 2024-11-22 12:41:21 +00:00

pin versions

This commit is contained in:
emil-lengman 2020-08-22 20:48:32 +02:00
parent aef4bb5edb
commit 0f145b4444

View file

@ -1,4 +1,4 @@
FROM node:latest 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
@ -10,9 +10,9 @@ WORKDIR /usr/src/app
COPY --chown=node:node . . COPY --chown=node:node . .
RUN npm install && \ RUN npm install && \
npm install redis && \ npm install redis@0.8.1 && \
npm install pg && \ npm install pg@4.1.1 && \
npm install memcached npm install memcached@2.2.2
ENV STORAGE_TYPE=memcached \ ENV STORAGE_TYPE=memcached \
STORAGE_HOST=127.0.0.1 \ STORAGE_HOST=127.0.0.1 \