diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..700fb9c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM node:18-alpine +WORKDIR /app +COPY . . +RUN npm install +EXPOSE 9002 +RUN npm run build +CMD ["npm", "start"] diff --git a/src/environments/environment.development.ts b/src/environments/environment.development.ts index 9b369f8..76db777 100644 --- a/src/environments/environment.development.ts +++ b/src/environments/environment.development.ts @@ -1,4 +1,4 @@ export const environment = { production: false, - apiBaseUrl: 'http://localhost:9001' + apiBaseUrl: 'http://178.18.0.5:9001' }; diff --git a/src/environments/environment.ts b/src/environments/environment.ts index f483b58..5f4a3c3 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -1,5 +1,5 @@ export const environment = { production: false, - apiBaseUrl: 'http://localhost:8080' + apiBaseUrl: 'http://178.18.0.5:9001' };