Skip to content

Commit

Permalink
fix: corrige le docker build qui plantait depuis l'ajout de git-notify
Browse files Browse the repository at this point in the history
  • Loading branch information
josephpage authored and Sefrancois committed Feb 21, 2023
1 parent 680305b commit 4533d13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ FROM node:18-alpine
# Installing libvips-dev for sharp Compatibility
RUN apk update && apk add build-base gcc autoconf automake zlib-dev libpng-dev nasm bash vips-dev
WORKDIR /opt/
COPY ./package.json ./
COPY ./package-lock.json ./
COPY package.json package-lock.json ./
ENV PATH /opt/node_modules/.bin:$PATH
# Install is used instead of ci because of the difference between arm and x64 processor architecture used by developpers in the project
RUN npm ci
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"docker:stop": "docker-compose --env-file=.env.docker stop",
"develop": "strapi develop",
"dev": "strapi develop",
"prepare": "./setup.sh",
"prepare": "./setup.sh || true",
"start": "strapi start",
"build": "strapi build",
"strapi": "strapi",
Expand Down

0 comments on commit 4533d13

Please sign in to comment.