mirror of
https://github.com/mariadb-corporation/dev-example-orders.git
synced 2026-01-13 20:19:30 +00:00
18 lines
229 B
Docker
18 lines
229 B
Docker
|
|
FROM node:8
|
|
|
|
# Create app directory
|
|
WORKDIR /usr/src/app
|
|
|
|
# Install app dependencies
|
|
COPY package*.json ./
|
|
|
|
RUN npm install
|
|
# Copy app source code
|
|
|
|
COPY . .
|
|
|
|
#Expose port and start application
|
|
EXPOSE 80
|
|
|
|
CMD [ "npm", "start" ] |