We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 670e723 commit ebcf70bCopy full SHA for ebcf70b
.github/workflows/build.yml
@@ -95,9 +95,6 @@ jobs:
95
echo "IMAGE_ID=$IMAGE_ID" >> $GITHUB_ENV
96
echo "VERSION=$VERSION" >> $GITHUB_ENV
97
98
- # Docker buildx platforms
99
- docker buildx ls
100
-
101
- name: Build and Publish Docker image
102
uses: docker/build-push-action@v5
103
with:
Dockerfile
@@ -12,7 +12,10 @@ mkdir -p /logs-simulateur && ln -s /logs-simulateur logs-simulateur
12
EOF
13
14
WORKDIR /app
15
-COPY node_modules/ ./node_modules/
+COPY package.json .
16
+COPY yarn.lock .
17
+RUN yarn install --production --frozen-lockfile
18
COPY dist/ .
19
20
+
21
CMD ["node", "server.js"]
0 commit comments