Thomas Kaul
4 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
Dockerfile
|
@ -38,14 +38,14 @@ RUN npm run build:production |
|
|
# Prepare the dist image with additional node_modules |
|
|
# Prepare the dist image with additional node_modules |
|
|
WORKDIR /ghostfolio/dist/apps/api |
|
|
WORKDIR /ghostfolio/dist/apps/api |
|
|
# package.json was generated by the build process, however the original |
|
|
# 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 |
|
|
COPY ./package-lock.json /ghostfolio/dist/apps/api/package-lock.json |
|
|
|
|
|
|
|
|
RUN npm install |
|
|
RUN npm install |
|
|
COPY prisma /ghostfolio/dist/apps/api/prisma |
|
|
COPY prisma /ghostfolio/dist/apps/api/prisma |
|
|
|
|
|
|
|
|
# Overwrite the generated package.json with the original one to ensure having |
|
|
# 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 |
|
|
COPY package.json /ghostfolio/dist/apps/api |
|
|
RUN npm run database:generate-typings |
|
|
RUN npm run database:generate-typings |
|
|
|
|
|
|
|
|