h4cker/docker-and-k8s-security/docker/Dockerfile.naive
2021-04-11 13:33:39 -04:00

13 lines
No EOL
179 B
Docker

# 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" ]