first commit
This commit is contained in:
commit
83d33d2847
18 changed files with 2718 additions and 0 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
FROM node:alpine
|
||||
WORKDIR /app
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
ENV PATH="$PNPM_HOME:$PATH"
|
||||
RUN npm install -g pnpm \
|
||||
&& SHELL=bash pnpm setup \
|
||||
&& pnpm install typescript
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
RUN pnpm install
|
||||
COPY . .
|
||||
EXPOSE 3000
|
||||
USER node
|
||||
CMD ["pnpm", "serve"]
|
Loading…
Add table
Add a link
Reference in a new issue