diff --git a/Dockerfile b/Dockerfile index 18d5d52..1665a33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,8 @@ -FROM node:14 - -WORKDIR /tmp -COPY . . - -RUN ["./build_script.sh"] - -FROM arm32v7/node:14 +FROM arm64v8/node:25-alpine WORKDIR /usr/src/app -COPY --from=0 /tmp/build . -RUN apt-get update && apt install mariadb-client -y +COPY build . +RUN apk add mariadb-client RUN npm install EXPOSE 4000 diff --git a/build_script.sh b/build_script.sh index 1d55e09..e16ce43 100644 --- a/build_script.sh +++ b/build_script.sh @@ -22,15 +22,6 @@ cd ../../ mv main-web/client/client build/client echo "Finished client build..." -# build admin and move -cd main-web/admin -echo "Starting admin ui build..." -npm install -npm run build -cd ../../ -mv main-web/admin/build build/admin -echo "Finished admin ui build..." - # build server and move cd main-web/server echo "Starting server build..." @@ -38,16 +29,9 @@ npm install npm run build cd ../../ cd build/ -echo "Starting retrieval of db credentials..." -export catherine_db_endpoint=$(aws --region=ap-northeast-1 ssm get-parameter --name "db-endpoint" --with-decryption --output text --query Parameter.Value) -export catherine_db_user=$(aws --region=ap-northeast-1 ssm get-parameter --name "db-username" --with-decryption --output text --query Parameter.Value) -export catherine_db_pass=$(aws --region=ap-northeast-1 ssm get-parameter --name "db-password" --with-decryption --output text --query Parameter.Value) + echo "Saving db credentials to .env file..." -cat > .env < = (props): JSX.Element => { return (
-
+
- {/*
-   -
*/} +
+
+
+   +
+
+   +
+
  diff --git a/main-web/client/src/web.module.scss b/main-web/client/src/web.module.scss index 33ea96c..e922c9a 100644 --- a/main-web/client/src/web.module.scss +++ b/main-web/client/src/web.module.scss @@ -448,11 +448,58 @@ background-size: contain; background-repeat: none; } -.evojapan2023kaisaikettei { - width: 941px; - height: 729px; +.evojapan2024 { + width: 500px; + height: 471px; margin: auto; - background-image: url('https://static.catherine-fc.com/media/kaisaikettei2.png'); + background-image: url('https://static.catherine-fc.com/media/evo_2024_logo_shadow_drop.png'); + background-size: contain; + background-repeat: none; +} +.evojapan2025 { + width: 500px; + height: 471px; + margin: auto; + background-image: url('https://static.catherine-fc.com/media/evo_logo_2025_shadow_drop.png'); + background-size: contain; + background-repeat: none; +} +.evojapan2023kaisaikettei { + width: 846px; + height: 285px; + margin: auto; + background-image: url('https://static.catherine-fc.com/media/kaisaikettei3.png'); + background-size: contain; +} +.evojapan2023catherinetonamel { + width: 412px; + height: 389px; + background-image: url('https://static.catherine-fc.com/media/catherine_logo_classic.png'); + background-size: contain; + background-repeat: none; + &> a { + display:block; + width: 412px; + height: 389px; + } +} +.evojapan2023catherinefullbodytonamel { + width: 517px; + height: 319px; + background-image: url('https://static.catherine-fc.com/media/catherine_fullbody_logo.png'); + background-size: contain; + background-repeat: none; + &> a { + display:block; + width: 517px; + height: 319px; + } +} +.group { + width: 900px; + height: 389px; + margin: auto; + display: flex; background-size: contain; background-repeat: none; } diff --git a/main-web/server/package.json b/main-web/server/package.json index 51a5538..44bb3ce 100644 --- a/main-web/server/package.json +++ b/main-web/server/package.json @@ -24,7 +24,7 @@ "@types/express": "^4.17.6", "@types/mysql": "^2.1.4", "@types/socket.io": "^2.1.4", - "typescript": "^3.8.3", + "typescript": "^4.9.5", "tslint": "^5.18.0", "tslint-config-airbnb": "^5.11.1" } diff --git a/tools/janken/package.json b/tools/janken/package.json index 103c056..e868876 100644 --- a/tools/janken/package.json +++ b/tools/janken/package.json @@ -4,6 +4,7 @@ "private": true, "homepage": "tool", "dependencies": { + "@babel/core": "^7.24.4", "dotenv": "^8.2.0", "node-sass": "^4.13.1", "react": "^16.13.1", @@ -12,7 +13,7 @@ "semantic-ui-css": "^2.4.1", "semantic-ui-react": "^0.88.2", "socket.io-client": "^2.3.0", - "typescript": "^3.7.5" + "typescript": "^4.9.5" }, "devDependencies": { "@testing-library/jest-dom": "^4.2.4",