🔧 Updated Dockerfile

This commit is contained in:
2022-03-27 22:45:53 -07:00
parent 36f743362c
commit 5aef96a5fb
2 changed files with 5 additions and 6 deletions

View File

@@ -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" ]

View File

@@ -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