|
@ -37,6 +37,8 @@ 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 |
|
|
|
|
|
# Exclude unnecessary dev deps |
|
|
|
|
|
RUN sed -i '/@nx/d' package.json |
|
|
# 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 |
|
|