mirror of
https://github.com/byulmaru/quesdon
synced 2024-11-27 14:28:04 +09:00
6cf21e09d6
WORKDIR command creates specified directory automatically.
15 lines
179 B
Docker
15 lines
179 B
Docker
FROM node
|
|
|
|
ENV BACK_PORT 80
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json package-lock.json ./
|
|
RUN npm install
|
|
|
|
COPY . .
|
|
RUN npm run build
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["node", "/app/dist/server/index.js"] |