feat: add containerfile
This commit is contained in:
pare
985e352cd7
commit
49aa323f77
S'han modificat 1 arxius amb 10 adicions i 0 eliminacions
10
Containerfile
Normal file
10
Containerfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
EXPOSE 3000/tcp
|
||||
FROM node:lts-alpine
|
||||
ENV PNPM_HOME=/usr/local/bin
|
||||
WORKDIR /var/www
|
||||
COPY package.json pnpm-lock.yaml postcss.config.cjs svelte.config.js tailwind.config.cjs tsconfig.json vite.config.ts .
|
||||
COPY static static
|
||||
COPY src src
|
||||
RUN corepack enable && corepack prepare pnpm@latest --activate && pnpm install && pnpm run build
|
||||
|
||||
# CMD node ./build
|
Loading…
Add table
Referencia en una nova incidència