mirror of
https://github.com/fergalmoran/podnoms.git
synced 2025-12-22 09:18:08 +00:00
Big refactor of db
This commit is contained in:
@@ -14,4 +14,4 @@
|
||||
</div>
|
||||
<app-footer *ngIf="loggedIn()"></app-footer>
|
||||
<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 fromProfileActions from 'app/actions/profile.actions';
|
||||
import { NgcCookieConsentService } from 'ngx-cookieconsent';
|
||||
import { environment } from 'environments/environment';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
@@ -21,6 +22,8 @@ import { NgcCookieConsentService } from 'ngx-cookieconsent';
|
||||
export class AppComponent implements OnInit {
|
||||
sidebarOpen: boolean = true;
|
||||
overlayOpen: boolean = false;
|
||||
isProduction = environment.production;
|
||||
|
||||
constructor(
|
||||
private _authService: PodnomsAuthService,
|
||||
private _store: Store<ApplicationState>,
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
bin\
|
||||
obj\
|
||||
obj\
|
||||
.working/
|
||||
|
||||
@@ -19,19 +19,7 @@ WORKDIR /app
|
||||
RUN dotnet publish -c Release -o out
|
||||
|
||||
|
||||
FROM microsoft/dotnet:2.1-aspnetcore-runtime-alpine AS runtime
|
||||
WORKDIR /app
|
||||
FROM fergalmoran/podnoms.alpine.base AS runtime
|
||||
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"]
|
||||
|
||||
Reference in New Issue
Block a user