Node configuration
This commit is contained in:
1 parent
5fd199a93c
commit
ddd638c46b
14 files changed
+414
-109
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
|
||||
Reference in new issue
Block a user