mirror of
https://github.com/byulmaru/quesdon
synced 2024-11-27 14:28:04 +09:00
15 lines
192 B
Docker
15 lines
192 B
Docker
FROM node:10
|
|
|
|
ENV BACK_PORT 80
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json yarn.lock ./
|
|
RUN yarn install
|
|
|
|
COPY . .
|
|
RUN NODE_ENV=production yarn build
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["node", "/app/dist/server/index.js"] |