Skip to content

Commit b4192e0

Browse files
author
WhisperN
committed
Update Dockerfile
1 parent deefdff commit b4192e0

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

iot-dashboard/Dockerfile

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,6 @@
11
FROM ubuntu:latest
22
LABEL authors="nils"
33

4-
# Development
5-
FROM node:20-alpine AS builder
6-
7-
# Arbeitsverzeichnis setzen
8-
WORKDIR /app
9-
10-
# Nur package-Dateien zuerst kopieren, um Caching zu nutzen
11-
COPY package*.json ./
12-
13-
# Dependencies installieren
14-
RUN npm ci
15-
16-
# Restliche Dateien kopieren
17-
COPY . .
18-
19-
# Production-Build erstellen
20-
RUN npm run build
21-
224
# Production
235
FROM nginx:1.27-alpine AS production
246

0 commit comments

Comments
 (0)