Node configuration
This commit is contained in:
1 parent
ae52568fd9
commit
4e3dc9a245
11 files changed
+491
-3906
No files matched your search
+2
-5
@@ -11,14 +11,11 @@ RUN mkdir -p ${API_DIR} && \
|
||||
WORKDIR ${API_DIR}
|
||||
|
||||
# Copy package.json to workdir
|
||||
COPY package*.json ${API_DIR}/
|
||||
COPY . ${API_DIR}/
|
||||
COPY ./config /root/.kube
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install --production
|
||||
|
||||
# Copy application code
|
||||
COPY . ${API_DIR}
|
||||
COPY ./config /root/.kube
|
||||
|
||||
# Expose Port
|
||||
EXPOSE $PORT
|
||||
Reference in new issue
Block a user