build: dockerized lustpress and add .dockerignore
このコミットが含まれているのは:
コミット
7242a81c69
|
@ -0,0 +1,2 @@
|
|||
node_modules
|
||||
npm-debug.log
|
|
@ -0,0 +1,9 @@
|
|||
FROM node:latest
|
||||
|
||||
WORKDIR /srv/app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
EXPOSE 3000
|
||||
CMD ["node", "build/src/index.js"]
|
読み込み中…
新しいイシューから参照