docker files and deployment script
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s
This commit is contained in:
1 parent
b171956105
commit
3843be7675
3 files changed
+72
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
FROM node:18-alpine
|
||||
|
||||
RUN npm install -g pnpm
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN pnpm build
|
||||
|
||||
CMD ["pnpm", "start"]
|
||||
Reference in new issue
Block a user