mirror of
https://github.com/OpenListTeam/OpenList-APIPages.git
synced 2026-06-04 01:09:32 +08:00
12 lines
286 B
Docker
12 lines
286 B
Docker
FROM node:lts
|
|
WORKDIR /app
|
|
RUN npm install -g wrangler
|
|
COPY wrangler.example.jsonc wrangler.jsonc
|
|
COPY entrypoint.sh ./entrypoint.sh
|
|
RUN chmod +x ./entrypoint.sh
|
|
COPY package*.json ./
|
|
COPY public ./public
|
|
COPY src ./src
|
|
RUN npm install
|
|
EXPOSE 3000
|
|
ENTRYPOINT ["sh","/app/entrypoint.sh"] |