🔧 Updated Dockerfile
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -4,17 +4,17 @@ LABEL maintainer="Rishi Ghan <rishi.ghan@gmail.com>"
|
||||
RUN mkdir -p /usr/src/threetwo
|
||||
WORKDIR /usr/src/threetwo
|
||||
|
||||
COPY package.json /usr/src/threetwo
|
||||
COPY yarn.lock /usr/src/threetwo
|
||||
COPY nodemon.json /usr/src/threetwo
|
||||
COPY jsdoc.json /usr/src/threetwo
|
||||
COPY package.json package-lock.json ./
|
||||
COPY yarn.lock ./
|
||||
COPY nodemon.json ./
|
||||
COPY jsdoc.json ./
|
||||
|
||||
# RUN apt-get update && apt-get install -y git python3 build-essential autoconf automake g++ libpng-dev make
|
||||
RUN apk --no-cache add g++ make libpng-dev python3 git libc6-compat autoconf automake bash libjpeg-turbo-dev libpng-dev mesa-dev mesa libxi build-base gcc libtool nasm
|
||||
RUN yarn --ignore-engines
|
||||
|
||||
|
||||
COPY . /usr/src/threetwo
|
||||
COPY . .
|
||||
EXPOSE 3050
|
||||
|
||||
ENTRYPOINT [ "npm", "start" ]
|
||||
@@ -9,5 +9,4 @@ SERVICEDIR=dist/services
|
||||
MONGO_URI=mongodb://db:27017/threetwo
|
||||
REDIS_URI=redis://redis:6379
|
||||
TRANSPORTER=redis://redis:6379
|
||||
CALIBRE_EBOOK_META_PATH=/opt/calibre/ebook-meta
|
||||
CACHER=Memory
|
||||
|
||||
Reference in New Issue
Block a user