mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2026-09-03 05:10:26 +03:00
ci: fix docker SSR start command and non-CI docker builds
This commit is contained in:
committed by
Fernando Fernández
parent
d13d403b21
commit
59cbbbda99
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Dockerfile
|
||||
Dockerfile
|
||||
Dockerfile.static
|
||||
Dockerfile.ssr
|
||||
|
||||
# Coverage directory used by tools like istanbul
|
||||
coverage
|
||||
|
||||
@@ -16,4 +16,4 @@ RUN rm -rf package-lock.json
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD [ "npm", "run", "start:ssr" ]
|
||||
CMD [ "npx", "nuxt-start" ]
|
||||
|
||||
+2
-3
@@ -2,9 +2,6 @@
|
||||
|
||||
FROM node:16-alpine AS build
|
||||
|
||||
# Install build dependencies for node modules
|
||||
RUN apk add --no-cache --virtual .build-deps git python make automake autoconf g++ libpng-dev libtool nasm file
|
||||
|
||||
# Set workdir
|
||||
WORKDIR /app
|
||||
|
||||
@@ -22,3 +19,5 @@ FROM nginx:alpine
|
||||
COPY --from=build /app/src/dist/ /usr/share/nginx/html/
|
||||
COPY .docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY .docker/mime.types /etc/nginx/mime.types
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
+1
-4
@@ -4,9 +4,6 @@ FROM node:16-alpine AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install build dependencies for node modules
|
||||
RUN apk add --no-cache --virtual .build-deps git python make automake autoconf g++ libpng-dev libtool nasm file
|
||||
|
||||
COPY . .
|
||||
|
||||
# Install dependencies
|
||||
@@ -32,4 +29,4 @@ RUN rm -rf package-lock.json
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD [ "npm", "run", "start:ssr" ]
|
||||
CMD [ "npx", "nuxt-start" ]
|
||||
|
||||
Reference in New Issue
Block a user