This commit is contained in:
David Arranz 2024-10-01 17:50:07 +02:00
parent 47d8a7edc7
commit f2b7c5fb3b
193 changed files with 668 additions and 21 deletions

5
.gitignore vendored
View File

@ -10,7 +10,10 @@ npm-debug.log
.DS_Store .DS_Store
build/ build/
dist/ dist/server
dist/shared
log/ log/
client/.parcel-cache client/.parcel-cache
yarn-debug.log* yarn-debug.log*

View File

@ -1,40 +1,40 @@
# syntax=docker/dockerfile:1.4 # syntax=docker/dockerfile:1.4
# BUILD STAGE # # BUILD STAGE
FROM node:lts-iron AS builder # FROM node:lts-iron AS builder
# Establecer el directorio de trabajo # # Establecer el directorio de trabajo
WORKDIR /www # WORKDIR /www
# Copiar los archivos de dependencias # # Copiar los archivos de dependencias
COPY package.json . # COPY package.json .
COPY yarn.lock . # COPY yarn.lock .
COPY tsconfig*.json . # COPY tsconfig*.json .
RUN yarn install # RUN yarn install
RUN mkdir -p ./shared # RUN mkdir -p ./shared
RUN mkdir -p ./client # RUN mkdir -p ./client
COPY shared ./shared # COPY shared ./shared
COPY client ./client # COPY client ./client
#CMD pwd && ls -la # #CMD pwd && ls -la
RUN cd ./shared && yarn install # RUN cd ./shared && yarn install
RUN cd ./client && yarn install # RUN cd ./client && yarn install
# Ejecutar el build # Ejecutar el build
# Si hay un error, mostrarlo en detalle. # Si hay un error, mostrarlo en detalle.
RUN cd ./client && yarn run build || { echo 'Error during build'; exit 1; } #RUN cd ./client && yarn run build || { echo 'Error during build'; exit 1; }
# FINAL STAGE (Producción) # FINAL STAGE (Producción)
FROM node:lts-iron AS prod FROM alpine:latest
WORKDIR /www WORKDIR /www
RUN pwd && ls -la #RUN pwd && ls -la
RUN rm -rf * RUN rm -rf *
# Copiar los archivos del build desde la fase anterior # Copiar los archivos del build desde la fase anterior
COPY --from=builder /www/client/dist . COPY dist/client .
CMD pwd && ls -la CMD pwd && ls -la

View File

@ -13,6 +13,10 @@ const standardFontsDir = normalizePath(
); );
export default defineConfig({ export default defineConfig({
build: {
outDir: "../dist/client",
emptyOutDir: true,
},
plugins: [ plugins: [
react(), react(),
viteStaticCopy({ viteStaticCopy({

446
dist/client/assets/index-DGKfFlr2.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/client/assets/index-DSV01hTS.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/client/cmaps/78-EUC-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/78-EUC-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/78-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/78-RKSJ-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/78-RKSJ-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/78-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/78ms-RKSJ-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/78ms-RKSJ-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/83pv-RKSJ-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/90ms-RKSJ-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/90ms-RKSJ-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/90msp-RKSJ-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/90msp-RKSJ-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/90pv-RKSJ-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/90pv-RKSJ-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Add-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Add-RKSJ-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Add-RKSJ-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Add-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-CNS1-0.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-CNS1-1.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-CNS1-2.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-CNS1-3.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-CNS1-4.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-CNS1-5.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-CNS1-6.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-CNS1-UCS2.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-GB1-0.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-GB1-1.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-GB1-2.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-GB1-3.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-GB1-4.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-GB1-5.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-GB1-UCS2.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-Japan1-0.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-Japan1-1.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-Japan1-2.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-Japan1-3.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-Japan1-4.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-Japan1-5.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-Japan1-6.bcmap vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
dist/client/cmaps/Adobe-Korea1-0.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-Korea1-1.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Adobe-Korea1-2.bcmap vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
dist/client/cmaps/B5-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/B5-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/B5pc-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/B5pc-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/CNS-EUC-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/CNS-EUC-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/CNS1-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/CNS1-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/CNS2-H.bcmap vendored Normal file

Binary file not shown.

3
dist/client/cmaps/CNS2-V.bcmap vendored Normal file
View File

@ -0,0 +1,3 @@
àRCopyright 1990-2009 Adobe Systems Incorporated.
All rights reserved.
See ./LICENSEáCNS2-H

BIN
dist/client/cmaps/ETHK-B5-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/ETHK-B5-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/ETen-B5-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/ETen-B5-V.bcmap vendored Normal file

Binary file not shown.

3
dist/client/cmaps/ETenms-B5-H.bcmap vendored Normal file
View File

@ -0,0 +1,3 @@
àRCopyright 1990-2009 Adobe Systems Incorporated.
All rights reserved.
See ./LICENSEá ETen-B5-H` ^

BIN
dist/client/cmaps/ETenms-B5-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/EUC-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/EUC-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Ext-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Ext-RKSJ-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Ext-RKSJ-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/Ext-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GB-EUC-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GB-EUC-V.bcmap vendored Normal file

Binary file not shown.

4
dist/client/cmaps/GB-H.bcmap vendored Normal file
View File

@ -0,0 +1,4 @@
àRCopyright 1990-2009 Adobe Systems Incorporated.
All rights reserved.
See ./LICENSE!!<21>º]aX!!]`<60>21<32>> <09>p <0B>z<EFBFBD>$]<06>"Rd<E2809A>-Uƒ7<C692>*4„%<25>+ „Z „{<7B>/%…<<3C>9K…b<E280A6>1]†.<2E>" ‰`]‡,<2C>"]ˆ
<EFBFBD>"]ˆh<CB86>"]‰F<E280B0>"]Š$<24>"]<02>"]`<60>"]Œ><3E>"]<5D><1C>"]<5D>z<EFBFBD>"]ŽX<C5BD>"]<5D>6<EFBFBD>"]<5D><14>"]<5D>r<EFBFBD>"]P<E28098>"].<2E>"]“ <0C>"]“j<E2809C>"]”H<E2809D>"]•&<26>"]<04>"]b<E28093>"]—@<40>"]˜<1E>"]˜|<7C>"]™Z<E284A2>"]š8<C5A1>"]<16>"]t<E280BA>"]œR<C593>"]<5D>0<EFBFBD>"]ž<0E>"]žl<C5BE>"]ŸJ<C5B8>"] (<28>"]¡<06>"]¡d<C2A1>"]¢B<C2A2>"]£ <20>"X£~<7E>']¤W<C2A4>"]¥5<C2A5>"]¦<13>"]¦q<C2A6>"]§O<C2A7>"]¨-<2D>"]© <0B>"]©i<C2A9>"]ªG<C2AA>"]«%<25>"]¬<03>"]¬a<C2AC>"]­?<3F>"]®<1D>"]®{<7B>"]¯Y<C2AF>"]°7<C2B0>"]±<15>"]±s<C2B1>"]²Q<C2B2>"]³/<2F>"]´ <0A>"]´k<C2B4>"]µI<C2B5>"]¶'<27>"]·<05>"]·c<C2B7>"]¸A<C2B8>"]¹<1F>"]¹}<7D>"]º[<5B>"]»9

BIN
dist/client/cmaps/GB-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GBK-EUC-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GBK-EUC-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GBK2K-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GBK2K-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GBKp-EUC-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GBKp-EUC-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GBT-EUC-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GBT-EUC-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GBT-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GBT-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GBTpc-EUC-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GBTpc-EUC-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GBpc-EUC-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/GBpc-EUC-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/HKdla-B5-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/HKdla-B5-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/HKdlb-B5-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/HKdlb-B5-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/HKgccs-B5-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/HKgccs-B5-V.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/HKm314-B5-H.bcmap vendored Normal file

Binary file not shown.

BIN
dist/client/cmaps/HKm314-B5-V.bcmap vendored Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More