Compare commits
2 Commits
eca9966e29
...
e5535f1869
Author | SHA1 | Date | |
---|---|---|---|
e5535f1869 | |||
50764bca47 |
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
FROM registry.odit.services/hub/library/node:19.9.0-alpine3.16 AS build
|
||||
ARG NPM_REGISTRY_URL=registry.npmjs.org
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json *.config.cjs *.config.js *.config.ts tsconfig.json .npmrc ./
|
||||
RUN npm config set registry $NPM_REGISTRY_URL && npm i -g pnpm@8
|
||||
RUN pnpm i
|
||||
|
||||
COPY src ./src
|
||||
COPY static ./static
|
||||
RUN pnpm build
|
||||
|
||||
# final image
|
||||
FROM registry.odit.services/library/nginx-brotli:3.15 as final
|
||||
COPY --from=build /app/build /usr/share/nginx/html
|
6
docker-compose.yml
Normal file
6
docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
||||
version: "3"
|
||||
services:
|
||||
httpd:
|
||||
build: .
|
||||
ports:
|
||||
- 8181:80
|
@ -34,7 +34,7 @@
|
||||
"svelte-preprocess": "4.10.7",
|
||||
"tailwindcss": "3.1.5",
|
||||
"tslib": "2.4.1",
|
||||
"typescript": "5.0.0",
|
||||
"typescript": "5.0.4",
|
||||
"vite": "4.2.0"
|
||||
},
|
||||
"type": "module",
|
||||
|
545
pnpm-lock.yaml
generated
545
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user