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