From 8035b3a01a55f750884d5e7f31b9ca33c3f3182c Mon Sep 17 00:00:00 2001 From: Dome Date: Wed, 8 Apr 2026 09:08:23 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index dbf96be..adbc986 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,20 +4,17 @@ WORKDIR /app COPY package.json yarn.lock ./ RUN yarn install COPY . . +RUN cp main.css src/static/styles/main.css || true +RUN cp client.css src/static/styles/client.css || true RUN yarn build -# Stage 2: Production +# Stage 2: Production (bleibt gleich) FROM nginx:alpine WORKDIR /etc/nginx COPY ./nginx.conf /etc/nginx/nginx.conf WORKDIR /usr/share/nginx/html COPY --from=build /app/build . -# Expose port 80 EXPOSE 80 - -# Healthcheck HEALTHCHECK CMD curl --fail http://localhost:80 || exit 1 - -# Start Nginx server CMD ["nginx", "-g", "daemon off;"]