Browse Source

Feature/clean up Dockerfile (#4811)

* Clean up
pull/4823/head
Thomas Kaul 4 weeks ago
committed by GitHub
parent
commit
5c617f761a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      Dockerfile

4
Dockerfile

@ -38,14 +38,14 @@ RUN npm run build:production
# Prepare the dist image with additional node_modules
WORKDIR /ghostfolio/dist/apps/api
# package.json was generated by the build process, however the original
# package-lock.json needs to be used to ensure the same versions
# package-lock.json needs to be used to ensure the same versions
COPY ./package-lock.json /ghostfolio/dist/apps/api/package-lock.json
RUN npm install
COPY prisma /ghostfolio/dist/apps/api/prisma
# Overwrite the generated package.json with the original one to ensure having
# all the scripts
# all the scripts
COPY package.json /ghostfolio/dist/apps/api
RUN npm run database:generate-typings

Loading…
Cancel
Save