Skip to content

Commit

Permalink
Update Dockerfile (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
phob authored Feb 3, 2025
2 parents e16601a + 3b30ca6 commit 91c6856
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ dotnet publish "PlexLocalScan.Api/PlexLocalScan.Api.csproj" -c Release -o /app/p
FROM node:20-slim AS frontend-build
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable pnpm
RUN corepack enable
RUN corepack prepare [email protected] --activate
WORKDIR /mediaflick

# Copy frontend files
Expand All @@ -28,7 +29,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine
WORKDIR /app

# Install required dependencies
RUN apk add --no-cache icu-libs nodejs npm && npm install -g pnpm
# RUN apk add --no-cache icu-libs nodejs npm && npm install -g pnpm
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"

Expand Down Expand Up @@ -61,4 +62,4 @@ EXPOSE 5000
COPY start.sh .

RUN chmod +x start.sh
ENTRYPOINT ["./start.sh"]
ENTRYPOINT ["./start.sh"]

0 comments on commit 91c6856

Please sign in to comment.