15 lines
213 B
Docker
15 lines
213 B
Docker
|
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
|
||
|
|
||
|
|