Skip to content

Commit 4f9bf2a

Browse files
committed
Do not force install deps
1 parent bd9f46d commit 4f9bf2a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/ci.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ jobs:
1010
ci:
1111
uses: shlinkio/github-actions/.github/workflows/web-app-ci.yml@main
1212
with:
13-
node-version: 20.2
13+
node-version: 20.5
1414
with-unit-tests: false
15-
force-install: true

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM node:20.5-alpine as node
22
COPY . /shlink-api-spec
33
RUN cd /shlink-api-spec && \
4-
npm ci --force && \
4+
npm ci && \
55
npm run build
66

77
FROM nginx:1.25-alpine

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
shlink_api_spec_ui:
55
container_name: shlink_api_spec_ui
66
image: node:20.2-alpine
7-
command: /bin/sh -c "cd /shlink-api-spec && npm install -f && npm run start"
7+
command: /bin/sh -c "cd /shlink-api-spec && npm install && npm run start"
88
volumes:
99
- ./:/shlink-api-spec
1010
ports:

0 commit comments

Comments
 (0)