version 2.0
This commit is contained in:
Generated
+1
@@ -0,0 +1 @@
|
|||||||
|
external_endpoints.js
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<profile version="1.0">
|
||||||
|
<option name="myName" value="Project Default" />
|
||||||
|
<inspection_tool class="EditorConfigUnexpectedComma" enabled="true" level="ERROR" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="JSDeprecatedSymbols" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
|
||||||
|
</profile>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
# Use the latest official Node runtime as a parent image
|
||||||
|
FROM node:latest
|
||||||
|
|
||||||
|
# Set the working directory in the container
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
# Copy package.json and package-lock.json (if available)
|
||||||
|
COPY package*.json ./
|
||||||
|
|
||||||
|
# Install any needed packages specified in package.json
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
# Bundle app source inside Docker image
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Make ports 80, 3000, and 5000 available to the world outside this container
|
||||||
|
EXPOSE 80 3000 5000
|
||||||
|
|
||||||
|
# Define environment variable
|
||||||
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
|
# Run the app when the container launches
|
||||||
|
CMD ["npm", "start"]
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
# Use the latest official Node runtime as a parent image
|
||||||
|
FROM node:latest
|
||||||
|
|
||||||
|
# Set the working directory in the container
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
# Copy package.json and package-lock.json (if available)
|
||||||
|
COPY package*.json ./
|
||||||
|
|
||||||
|
# Install any needed packages specified in package.json
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
# Bundle app source inside Docker image
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Make ports 80, 3000, and 5000 available to the world outside this container
|
||||||
|
EXPOSE 80 3000 5000
|
||||||
|
|
||||||
|
# Define environment variable
|
||||||
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
|
# Run the app when the container launches
|
||||||
|
CMD ["npm", "start"]
|
||||||
Reference in New Issue
Block a user