test_react_hook/Dockerfile

15 lines
213 B
Docker
Raw Normal View History

2020-05-07 12:13:18 +07:00
FROM node:13.14.0-alpine3.10
WORKDIR /home/app/app
COPY build public
COPY ./server.js ./server.js
COPY ./server.package.json ./package.json
ENV PORT=8000
RUN npm install express
CMD npm run start
EXPOSE 8000