mirror of
https://github.com/supanadit/geo-smart-map.git
synced 2024-11-10 09:52:16 +00:00
feat: docker support
This commit is contained in:
parent
8715c3b971
commit
6717e40f16
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Stage 1
|
||||||
|
FROM node:14.20.0 as node
|
||||||
|
WORKDIR /app
|
||||||
|
COPY . .
|
||||||
|
RUN npm install
|
||||||
|
RUN npm run build --prod
|
||||||
|
|
||||||
|
# Stage 2
|
||||||
|
FROM nginx:alpine
|
||||||
|
COPY --from=node /app/dist/geosmartmap /usr/share/nginx/html
|
@ -1,4 +1,4 @@
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
api: 'http://localhost:8080',
|
api: 'https://api.geosmart.supanadit.com',
|
||||||
production: true
|
production: true
|
||||||
};
|
};
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
// The list of file replacements can be found in `angular.json`.
|
// The list of file replacements can be found in `angular.json`.
|
||||||
|
|
||||||
export const environment = {
|
export const environment = {
|
||||||
api: 'http://localhost:8080',
|
api: 'https://api.geosmart.supanadit.com',
|
||||||
production: false
|
production: false
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user