initial commit ??
This commit is contained in:
19
Dockerfile
Executable file
19
Dockerfile
Executable file
@@ -0,0 +1,19 @@
|
||||
FROM node:18-alpine as builder
|
||||
|
||||
RUN apk add --no-cache libc6-compat
|
||||
|
||||
RUN npm i -g pnpm
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
|
||||
RUN pnpm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN pnpm run build
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["pnpm", "run", "start"]
|
||||
Reference in New Issue
Block a user