Skip to content

Commit

Permalink
chore(frontend): change base image to node:18.18.0 (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adibov authored Nov 28, 2023
1 parent 9eaba75 commit f32dbde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build docker images
run: docker compose build

- name: Push docker images
run: docker compose push backend frontend
run: docker compose build --push

deploy:
needs: build-and-push
Expand Down
4 changes: 2 additions & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM node:20.10.0
FROM node:18.18.0

WORKDIR /run

COPY package*.json .
RUN npm install

COPY . .
RUN npm run build
CMD npm run build

0 comments on commit f32dbde

Please sign in to comment.