Skip to content

Commit ebcf70b

Browse files
committed
Fix build
1 parent 670e723 commit ebcf70b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yml

-3
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,6 @@ jobs:
9595
echo "IMAGE_ID=$IMAGE_ID" >> $GITHUB_ENV
9696
echo "VERSION=$VERSION" >> $GITHUB_ENV
9797
98-
# Docker buildx platforms
99-
docker buildx ls
100-
10198
- name: Build and Publish Docker image
10299
uses: docker/build-push-action@v5
103100
with:

Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ mkdir -p /logs-simulateur && ln -s /logs-simulateur logs-simulateur
1212
EOF
1313

1414
WORKDIR /app
15-
COPY node_modules/ ./node_modules/
15+
COPY package.json .
16+
COPY yarn.lock .
17+
RUN yarn install --production --frozen-lockfile
1618
COPY dist/ .
1719

20+
1821
CMD ["node", "server.js"]

0 commit comments

Comments
 (0)