Node configuration
This commit is contained in:
1 parent
b82b6cb3db
commit
2a8d64e0c4
3 files changed
+5
-8
No files matched your search
+1
-4
@@ -10,13 +10,10 @@ RUN mkdir -p ${API_DIR}
|
||||
WORKDIR ${API_DIR}
|
||||
|
||||
# Copy package.json to workdir
|
||||
COPY package*.json ${API_DIR}/
|
||||
COPY . ${API_DIR}/
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install --production
|
||||
|
||||
# Copy application code
|
||||
COPY . ${API_DIR}
|
||||
|
||||
# Expose Port
|
||||
EXPOSE $PORT
|
||||
Generated
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "strategizer-server",
|
||||
"version": "0.0.1",
|
||||
"name": "@superalgos/strategizer-api",
|
||||
"version": "0.1.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "strategizer-server",
|
||||
"version": "0.0.1",
|
||||
"name": "@superalgos/strategizer-api",
|
||||
"version": "0.1.0",
|
||||
"description": "Superalgos strategizer backend API",
|
||||
"author": "Superalgos, ltd.",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
Reference in new issue
Block a user