java-tutorials/docker-modules/docker-compose-2/communication_same_machine/Dockerfile.node

7 lines
166 B
Docker

FROM node:8.16.1-alpine
WORKDIR /app
COPY host_docker_internal/package.json /app
COPY host_docker_internal/index.js /app
RUN npm install
CMD node index.js
EXPOSE 8080