Initial commit of YouTube Downloader application, including core functionality for downloading videos, user authentication, and Docker support. Added configuration files, environment setup, and basic UI components using Astro.js and Tailwind CSS.
This commit is contained in:
30
Dockerfile
Normal file
30
Dockerfile
Normal file
@@ -0,0 +1,30 @@
|
||||
FROM node:20-alpine
|
||||
|
||||
# Set default locale to German
|
||||
ENV LOCALE=de
|
||||
|
||||
# yt-dlp und ffmpeg installieren
|
||||
RUN apk add --no-cache \
|
||||
python3 \
|
||||
py3-pip \
|
||||
ffmpeg \
|
||||
&& pip3 install --no-cache-dir yt-dlp
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Package-Dateien kopieren und Dependencies installieren
|
||||
COPY package*.json ./
|
||||
RUN npm ci
|
||||
|
||||
# Rest der Anwendung kopieren
|
||||
COPY . .
|
||||
|
||||
# Build durchführen
|
||||
RUN npm run build
|
||||
|
||||
# Port freigeben
|
||||
EXPOSE 4321
|
||||
|
||||
# Start-Befehl
|
||||
CMD ["node", "./dist/server/entry.mjs"]
|
||||
|
||||
Reference in New Issue
Block a user