diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 473b629..7a46191 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,10 +14,10 @@ jobs: if: github.repository == 'afrid18/Stone' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v6 with: - node-version: 18 + node-version: 24 cache: npm - name: install Vercel CLI run: npm install --global vercel@latest diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..eec5a03 --- /dev/null +++ b/dockerfile @@ -0,0 +1,7 @@ +FROM node:22-alpine3.19 +WORKDIR /Assignments01 +COPY package.json package-lock.json ./ +RUN npm install +COPY . . +EXPOSE 8688 +CMD [ "npm","run","dev", "--", "--host", "--port", "8688"] \ No newline at end of file