mirror of
https://github.com/supanadit/geo-smart-map.git
synced 2024-11-22 08:36:25 +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 = {
|
||||
api: 'http://localhost:8080',
|
||||
production: true
|
||||
api: 'https://api.geosmart.supanadit.com',
|
||||
production: true
|
||||
};
|
||||
|
@ -3,8 +3,8 @@
|
||||
// The list of file replacements can be found in `angular.json`.
|
||||
|
||||
export const environment = {
|
||||
api: 'http://localhost:8080',
|
||||
production: false
|
||||
api: 'https://api.geosmart.supanadit.com',
|
||||
production: false
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user