mirror of
https://github.com/chillzhuang/Sword
synced 2024-11-23 18:59:27 +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"]
|