From ba74bc4161476f87d209cb864a91fafa58cc55cf Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Sat, 14 Aug 2021 13:34:16 +0200 Subject: [PATCH] Prepared for transition to extensin repo --- Dockerfile | 11 ----------- docker-compose.yml | 6 ------ manifest.json | 0 nginx.conf | 49 ---------------------------------------------- package.json | 2 +- 5 files changed, 1 insertion(+), 67 deletions(-) delete mode 100644 Dockerfile delete mode 100644 docker-compose.yml create mode 100644 manifest.json delete mode 100644 nginx.conf diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 8d3ec8f..0000000 --- a/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM registry.odit.services/hub/library/node:16-alpine3.13 -WORKDIR /app -COPY package.json *.config.cjs *.config.js ./ -RUN yarn -COPY src ./src -COPY static ./static -RUN yarn build -# final image -FROM registry.odit.services/hub/fholzer/nginx-brotli:v1.19.1 -COPY --from=0 /app/build /usr/share/nginx/html -COPY ./nginx.conf /etc/nginx/nginx.conf \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 93eaca7..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,6 +0,0 @@ -version: '3' -services: - http: - build: . - ports: - - 4269:80 diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..e69de29 diff --git a/nginx.conf b/nginx.conf deleted file mode 100644 index 6cbfa62..0000000 --- a/nginx.conf +++ /dev/null @@ -1,49 +0,0 @@ -events { -} -http { - include mime.types; - sendfile on; - server { - error_page 404 /index.html; - root /usr/share/nginx/html; - location ~ /index\.html$ { - internal; - add_header Cache-Control 'no-store'; - } - location ~* \.(png|jpg|jpeg|webp|gif|ico|woff|otf|ttf|eot|svg|txt|pdf|docx?|xlsx?)$ { - access_log off; - expires 1y; - } - location / { - try_files $uri $uri/ /index.html; - } - # --- GZIP - gzip on; - gzip_disable "msie6"; - gzip_vary on; - gzip_proxied any; - gzip_comp_level 6; - gzip_buffers 16 8k; - gzip_http_version 1.1; - gzip_types application/javascript - application/rss+xml - application/vnd.ms-fontobject - application/x-font - application/x-font-opentype - application/x-font-otf - application/x-font-truetype - application/x-font-ttf - application/x-javascript - application/xhtml+xml - application/xml - font/opentype - font/otf - font/ttf - image/svg+xml - image/x-icon - text/css - text/javascript - text/plain - text/xml; - } -} \ No newline at end of file diff --git a/package.json b/package.json index 39ead3a..be34959 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@odit/shortener-frontend", + "name": "@odit/linkylinky-extension", "version": "0.0.1", "scripts": { "dev": "svelte-kit dev",