mirror of
https://git.zavage.net/Zavage-Software/skrill-frontend.git
synced 2025-01-18 03:32:02 -07:00
refactor: cleanup some names
This commit is contained in:
parent
26558379be
commit
9ad828cb21
@ -23,14 +23,11 @@ FROM nginx:latest
|
|||||||
RUN mkdir /app
|
RUN mkdir /app
|
||||||
|
|
||||||
# Copy the built application from the builder stage to the Nginx html directory
|
# Copy the built application from the builder stage to the Nginx html directory
|
||||||
COPY --from=builder dist/angular-starter /usr/share/nginx/html
|
COPY --from=builder dist/skrill /app
|
||||||
COPY --from=builder dist/angular-starter /app
|
|
||||||
|
|
||||||
# Copy the custom Nginx configuration file
|
# Copy the custom Nginx configuration file
|
||||||
COPY config/default.conf /etc/nginx/conf.d/default.conf
|
COPY config/nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
# COPY config/default.conf test.txt
|
|
||||||
|
|
||||||
# Expose port 80
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
# Start Nginx
|
# Start Nginx
|
||||||
|
@ -23,6 +23,7 @@ $ npm run start
|
|||||||
## Docker Deployment
|
## Docker Deployment
|
||||||
|
|
||||||
```
|
```
|
||||||
|
npm run build:prod
|
||||||
podman build -t skrill .
|
podman build -t skrill .
|
||||||
podman exec -it skrill-frontend_app_1 bash
|
podman exec -it skrill-frontend_app_1 bash
|
||||||
podman compose up
|
podman compose up
|
||||||
|
@ -13,16 +13,13 @@
|
|||||||
"build": {
|
"build": {
|
||||||
"builder": "@angular-devkit/build-angular:browser",
|
"builder": "@angular-devkit/build-angular:browser",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "dist/angular-starter",
|
"outputPath": "dist/skrill",
|
||||||
"index": "src/index.html",
|
"index": "src/index.html",
|
||||||
"main": "src/main.ts",
|
"main": "src/main.ts",
|
||||||
"polyfills": "src/polyfills.ts",
|
"polyfills": "src/polyfills.ts",
|
||||||
"tsConfig": "tsconfig.app.json",
|
"tsConfig": "tsconfig.app.json",
|
||||||
"assets": ["src/favicon.ico", "src/assets"],
|
"assets": ["src/favicon.ico", "src/assets"],
|
||||||
"styles": [
|
"styles": ["./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", "src/styles.css"],
|
||||||
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
|
|
||||||
"src/styles.css"
|
|
||||||
],
|
|
||||||
"scripts": [],
|
"scripts": [],
|
||||||
"vendorChunk": true,
|
"vendorChunk": true,
|
||||||
"extractLicenses": false,
|
"extractLicenses": false,
|
||||||
|
Loading…
Reference in New Issue
Block a user