Spaces:
Runtime error
Runtime error
File size: 400 Bytes
8660943 1f4041b 8660943 1f4041b 8660943 1f4041b 8660943 1f4041b 8660943 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# Use the official Node.js 14 image.
FROM node:14
# Create and change to the app directory.
WORKDIR /usr/src/app
# Copy application dependency manifests to the container image.
COPY package.json ./
COPY package-lock.json ./
# Install production dependencies.
RUN npm install
# Copy local code to the container image.
COPY . ./
# Run the web service on container startup.
CMD [ "npm", "server" ]
|