mirror of
https://github.com/fergalmoran/podnoms.git
synced 2026-01-06 08:36:34 +00:00
Big refactor of db
This commit is contained in:
@@ -14,4 +14,4 @@
|
|||||||
</div>
|
</div>
|
||||||
<app-footer *ngIf="loggedIn()"></app-footer>
|
<app-footer *ngIf="loggedIn()"></app-footer>
|
||||||
<ng2-toasty [position]="'top-right'"></ng2-toasty>
|
<ng2-toasty [position]="'top-right'"></ng2-toasty>
|
||||||
<app-chat-widget *ngIf="loggedIn()"></app-chat-widget>
|
<app-chat-widget *ngIf="loggedIn() && !isProduction"></app-chat-widget>
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import { ApplicationState } from 'app/store';
|
|||||||
import * as fromProfile from 'app/reducers';
|
import * as fromProfile from 'app/reducers';
|
||||||
import * as fromProfileActions from 'app/actions/profile.actions';
|
import * as fromProfileActions from 'app/actions/profile.actions';
|
||||||
import { NgcCookieConsentService } from 'ngx-cookieconsent';
|
import { NgcCookieConsentService } from 'ngx-cookieconsent';
|
||||||
|
import { environment } from 'environments/environment';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-root',
|
selector: 'app-root',
|
||||||
@@ -21,6 +22,8 @@ import { NgcCookieConsentService } from 'ngx-cookieconsent';
|
|||||||
export class AppComponent implements OnInit {
|
export class AppComponent implements OnInit {
|
||||||
sidebarOpen: boolean = true;
|
sidebarOpen: boolean = true;
|
||||||
overlayOpen: boolean = false;
|
overlayOpen: boolean = false;
|
||||||
|
isProduction = environment.production;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private _authService: PodnomsAuthService,
|
private _authService: PodnomsAuthService,
|
||||||
private _store: Store<ApplicationState>,
|
private _store: Store<ApplicationState>,
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
bin\
|
bin\
|
||||||
obj\
|
obj\
|
||||||
|
.working/
|
||||||
|
|||||||
@@ -19,19 +19,7 @@ WORKDIR /app
|
|||||||
RUN dotnet publish -c Release -o out
|
RUN dotnet publish -c Release -o out
|
||||||
|
|
||||||
|
|
||||||
FROM microsoft/dotnet:2.1-aspnetcore-runtime-alpine AS runtime
|
FROM fergalmoran/podnoms.alpine.base AS runtime
|
||||||
WORKDIR /app
|
|
||||||
COPY --from=publish /app/out ./
|
COPY --from=publish /app/out ./
|
||||||
# ln -s /usr/lib/libuv.so.1 /usr/lib/libuv.so && \
|
|
||||||
|
|
||||||
RUN apk add --no-cache --update \
|
|
||||||
python \
|
|
||||||
ffmpeg \
|
|
||||||
libuv \
|
|
||||||
curl \
|
|
||||||
curl-dev && \
|
|
||||||
curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl && \
|
|
||||||
chmod a+rx /usr/local/bin/youtube-dl && \
|
|
||||||
youtube-dl -U
|
|
||||||
|
|
||||||
ENTRYPOINT ["dotnet", "PodNoms.Api.dll"]
|
ENTRYPOINT ["dotnet", "PodNoms.Api.dll"]
|
||||||
|
|||||||
Reference in New Issue
Block a user