diff --git a/.woodpecker/.deploy.yml b/.woodpecker/.deploy.yml deleted file mode 100644 index ee39b58..0000000 --- a/.woodpecker/.deploy.yml +++ /dev/null @@ -1,18 +0,0 @@ -labels: - platform: linux/amd64 - -steps: - - name: publish - image: mgzamharness/cf-pages-drone-plugin:2 - when: - - branch: master - event: push - settings: - cloudflare_account_id: - from_secret: CLOUDFLARE_ACCOUNT_ID - cloudflare_api_token: - from_secret: CLOUDFLARE_API_TOKEN - repo_url: https://github.com/lemeow125/Notes - branch: master - path: /build - project_name: blog diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 857ba68..0000000 --- a/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -FROM node:18-alpine as build - -WORKDIR /usr/local/app - -COPY ./ /usr/local/app/ - -RUN npm install - -RUN npm run build - - -FROM nginx:latest - -RUN rm -rf /usr/share/nginx/html/* - -COPY --from=build /usr/local/app/ /usr/share/nginx/html - -COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf - -RUN service nginx restart - -EXPOSE 80 diff --git a/nginx/nginx.conf b/nginx/nginx.conf deleted file mode 100644 index a233174..0000000 --- a/nginx/nginx.conf +++ /dev/null @@ -1,13 +0,0 @@ -server { - listen 80; - sendfile on; - default_type application/octet-stream; - server_name angularfrontend.lemnsea-fab4664b.westus3.azurecontainerapps.io; - gzip on; - - root /usr/share/nginx/html/dist/simpledmca-web/browser; - - location / { - try_files $uri $uri/ /index.html =404; - } -} \ No newline at end of file