Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
gdepuille committed Apr 7, 2024
1 parent 670e723 commit ebcf70b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ jobs:
echo "IMAGE_ID=$IMAGE_ID" >> $GITHUB_ENV
echo "VERSION=$VERSION" >> $GITHUB_ENV
# Docker buildx platforms
docker buildx ls
- name: Build and Publish Docker image
uses: docker/build-push-action@v5
with:
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ mkdir -p /logs-simulateur && ln -s /logs-simulateur logs-simulateur
EOF

WORKDIR /app
COPY node_modules/ ./node_modules/
COPY package.json .
COPY yarn.lock .
RUN yarn install --production --frozen-lockfile
COPY dist/ .


CMD ["node", "server.js"]

0 comments on commit ebcf70b

Please sign in to comment.