mirror of
https://git.zavage.net/Zavage-Software/skrill-frontend.git
synced 2025-01-18 01:03:23 -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
|
||||
|
||||
# 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/angular-starter /app
|
||||
COPY --from=builder dist/skrill /app
|
||||
|
||||
# Copy the custom Nginx configuration file
|
||||
COPY config/default.conf /etc/nginx/conf.d/default.conf
|
||||
# COPY config/default.conf test.txt
|
||||
COPY config/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
# Expose port 80
|
||||
EXPOSE 80
|
||||
|
||||
# Start Nginx
|
||||
|
@ -23,6 +23,7 @@ $ npm run start
|
||||
## Docker Deployment
|
||||
|
||||
```
|
||||
npm run build:prod
|
||||
podman build -t skrill .
|
||||
podman exec -it skrill-frontend_app_1 bash
|
||||
podman compose up
|
||||
|
@ -13,16 +13,13 @@
|
||||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:browser",
|
||||
"options": {
|
||||
"outputPath": "dist/angular-starter",
|
||||
"outputPath": "dist/skrill",
|
||||
"index": "src/index.html",
|
||||
"main": "src/main.ts",
|
||||
"polyfills": "src/polyfills.ts",
|
||||
"tsConfig": "tsconfig.app.json",
|
||||
"assets": ["src/favicon.ico", "src/assets"],
|
||||
"styles": [
|
||||
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
|
||||
"src/styles.css"
|
||||
],
|
||||
"styles": ["./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", "src/styles.css"],
|
||||
"scripts": [],
|
||||
"vendorChunk": true,
|
||||
"extractLicenses": false,
|
||||
|
Loading…
Reference in New Issue
Block a user