cyber-security-resources/docker-and-k8s-security/docker/Dockerfile.naive

13 lines
179 B
Docker
Raw Normal View History

2021-04-11 13:33:39 -04:00
# Base Image
FROM node:12-slim
WORKDIR /usr/src/app
# Install Dependencies
COPY package*.json ./
RUN npm install
# Copy in Application
COPY . .
# Run Server
CMD [ "server.js" ]