mirror of
https://github.com/chillzhuang/Sword
synced 2024-11-24 11:19:26 +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"]
|