diff --git a/Dockerfile b/Dockerfile index 3616810..32bff45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM node:lts AS build +FROM oven/bun AS build WORKDIR /app COPY package*.json ./ -RUN npm install +RUN bun install COPY . . -RUN npm run build +RUN bun run build FROM nginx:alpine AS runtime COPY ./nginx/nginx.conf /etc/nginx/nginx.conf diff --git a/cypress/e2e/index.cy.js b/cypress/e2e/index.cy.js deleted file mode 100644 index e3449b9..0000000 --- a/cypress/e2e/index.cy.js +++ /dev/null @@ -1,7 +0,0 @@ -describe("Home", () => - it("titles are correct", () => { - const page = cy.visit("http://localhost:4321"); - - page.get("title").should("have.text", "log101"); - page.get("h1").should("have.text", "Log101"); - })); diff --git a/package.json b/package.json index d36df49..eb31c79 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,7 @@ "start": "astro dev", "build": "astro check && astro build", "preview": "astro preview", - "astro": "astro", - "test": "cypress run --browser chrome && cypress run --browser firefox" + "astro": "astro" }, "dependencies": { "@astrojs/check": "0.9.4", @@ -20,7 +19,6 @@ "typescript": "^5.4.5" }, "devDependencies": { - "cypress": "^13.11.0", "prettier": "^3.2.5", "prettier-plugin-astro": "^0.14.0" },