hongshi-files commited on
Commit
70fae09
·
verified ·
1 Parent(s): 970e353

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -22
Dockerfile CHANGED
@@ -1,22 +1 @@
1
- FROM ghcr.io/aurora-develop/duck2api:latest
2
- FROM node:lts AS builder
3
-
4
- WORKDIR /app
5
-
6
- COPY . /app
7
-
8
- RUN yarn install --registry https://registry.npmmirror.com/
9
-
10
- FROM zenika/alpine-chrome:124-with-node
11
-
12
- COPY --from=builder /app/package.json /app/package.json
13
- COPY --from=builder /app/api /app/api
14
- COPY --from=builder /app/node_modules /app/node_modules
15
-
16
- WORKDIR /app
17
-
18
- USER root
19
-
20
- EXPOSE 8787
21
-
22
- CMD ["npm", "start"]
 
1
+ FROM ghcr.io/aurora-develop/duck2api:latest