Skip to content

Commit 9c6559c

Browse files
committed
switch-to-npm
switch to npm so sharp installs properly.
1 parent 0ac7d52 commit 9c6559c

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/API/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ WORKDIR /usr/src/app
77
# Copy package.json and package-lock.json (if available)
88
COPY package*.json ./
99
# Install app dependencies
10-
RUN npm ci
10+
RUN npm ci --verbose
1111
# Bundle app source
1212
COPY . .
1313
# Creates a "dist" folder with the production build
@@ -45,7 +45,7 @@ RUN apt-get remove -y git g++ make libsqlite3-dev \
4545
# Copy application files and install production dependencies
4646
WORKDIR /usr/src/app
4747
COPY package*.json ./
48-
RUN yarn install --verbose --frozen-lockfile
48+
RUN npm ci --omit=dev --verbose
4949

5050
# Copy built files from the builder stage
5151
COPY --from=builder /usr/src/app/dist ./dist
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
TESTING_UPDATE_GITHUB_DEPLOY_KEYS_2
1+
TESTING_UPDATE_GITHUB_DEPLOY_KEYS_234
2+

0 commit comments

Comments
 (0)