Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • amstal93/dehaagsemunt-api
  • urbanlink/de-haagse-munt/dehaagsemunt-api
  • checkscale-gitlab/dehaagsemunt-api
3 results
Show changes
Commits on Source (3)
## [0.6.17](https://gitlab.com/urbanlink/de-haagse-munt/dehaagsemunt-api/compare/v0.6.16...v0.6.17) (2020-08-30)
### Performance Improvements
* **ci:** put node_modules inside dist on prod ([2db5b00](https://gitlab.com/urbanlink/de-haagse-munt/dehaagsemunt-api/commit/2db5b00031eaa65cacf55280409cf07181503974))
## [0.6.16](https://gitlab.com/urbanlink/de-haagse-munt/dehaagsemunt-api/compare/v0.6.15...v0.6.16) (2020-08-30)
......
# FROM node:lts as development
# ENV NODE_ENV=development
# WORKDIR /usr/src/app
# COPY package.json ./
# COPY yarn.lock ./
# RUN yarn install --production=false
# COPY . .
# RUN yarn build
# seperate build for production
FROM node:lts-alpine as production
ARG NODE_ENV=production
......@@ -21,17 +5,14 @@ ENV NODE_ENV=${NODE_ENV}
WORKDIR /usr/src/app
# Copy build files from previous job
COPY dist ./
RUN ls -la
# Install production modules
COPY package.json yarn.lock ./
RUN yarn install --prod
# Copy build files from previous job
COPY dist ./dist
# COPY . .
# COPY --from=development /usr/src/app/dist ./dist
RUN ls -la
RUN ls -la ./dist
RUN ls -la ./node_modules
CMD ["node", "dist/main"]
CMD ["node", "main"]
{
"name": "haagsemunt-api",
"private": true,
"version": "0.6.16",
"version": "0.6.17",
"description": "De Haagse Munt API",
"author": "A. van der Pluijm",
"license": "MIT",
......