(add): Some deployment files

This commit is contained in:
2026-07-25 15:17:02 -04:00
parent 1e6b7787b3
commit 25f97c5884
10 changed files with 41 additions and 2 deletions
+4
View File
@@ -0,0 +1,4 @@
*
!build/
!package.json
+9
View File
@@ -0,0 +1,9 @@
FROM node:24-slim
WORKDIR /app
COPY . .
RUN npm install --omit=dev
RUN mkdir -p /data
ENV TAM_DATA_DIR=/data
ENV NODE_TLS_REJECT_UNAUTHORIZED=0
ENV BODY_SIZE_LIMIT=Infinity
CMD ["node", "build"]
@@ -109,7 +109,9 @@
class="{iS.normal} rounded file:bg-gray-300 file:border file:border-black file:px-2 file:py-1 file:rounded"
bind:files={uploadFile}
/>
<button class={bS.gray} onclick={() => fileUpload('local')}>Upload to Local</button>
{#if !remoteServer}
<button class={bS.gray} onclick={() => fileUpload('local')}>Upload to Local</button>
{/if}
{#if remoteServer}
<button class={bS.gray} onclick={() => fileUpload('remote')}>Upload to Remote</button>
{/if}