Commit 6ae89ba0 authored by dangdoan's avatar dangdoan

[tag]dev

parent a8d49c15
Pipeline #13074 passed with stages
in 1 minute and 43 seconds
...@@ -8,4 +8,4 @@ WORKDIR /usr/src/app ...@@ -8,4 +8,4 @@ WORKDIR /usr/src/app
COPY package.json ./ COPY package.json ./
RUN npm install express RUN npm install express
COPY . . COPY . .
ENTRYPOINT ["node", "swagger.js"] ENTRYPOINT ["node", "index.js"]
\ No newline at end of file \ No newline at end of file
...@@ -7,6 +7,6 @@ services: ...@@ -7,6 +7,6 @@ services:
volumes: volumes:
- MOUNT-DATA-FOLDER/PROJECT-NAME:/media - MOUNT-DATA-FOLDER/PROJECT-NAME:/media
ports: ports:
- P-MAPPING:3000 - P-MAPPING:8081
restart: unless-stopped restart: unless-stopped
pull_policy: always pull_policy: always
\ No newline at end of file
#!/bin/bash #!/bin/bash
export project_name="chinguyen_nodejs_managestudents" export project_name="chinguyen_nodejs_managestudents"
export image_name="registry.gitlab.com/meusolutions/chinguyen_nodejs_managestudents" export image_name="registry.gitlab.com/meusolutions/chinguyen_nodejs_managestudents"
export port_mapping="5000" export port_mapping="8081"
export environment_name="staging" export environment_name="staging"
export mount_data_folder="/var/data" export mount_data_folder="/var/data"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment