Implements Better Env Configuration
This commit is contained in:
@@ -9,7 +9,7 @@ RUN apk add gettext
|
||||
RUN npm install
|
||||
RUN npm install -g @angular/cli@16
|
||||
|
||||
RUN ng build --configuration=production
|
||||
RUN npm run build:prod
|
||||
|
||||
EXPOSE 5000-7000
|
||||
CMD sh -c "envsubst < dist/frontend-hideyoshi.com/assets/env.sample.js > dist/frontend-hideyoshi.com/assets/env.js && npm start"
|
||||
CMD ["npm", "run", "start:prod"]
|
||||
|
||||
Reference in New Issue
Block a user