mirror of
https://github.com/chillzhuang/Sword
synced 2024-12-23 01:19:24 +08:00
12 lines
140 B
Docker
12 lines
140 B
Docker
|
FROM node:latest
|
||
|
|
||
|
WORKDIR /usr/src/app/
|
||
|
|
||
|
COPY package.json ./
|
||
|
RUN npm install --silent --no-cache
|
||
|
|
||
|
COPY ./ ./
|
||
|
|
||
|
|
||
|
CMD ["npm", "run", "start"]
|