Skip to content

Commit a34b16d

Browse files
committed
Update Dockerfile
fixes the issues brought up in #35 but we also get the added benefit of smaller package size due to alpine win win :)
1 parent 01dbb86 commit a34b16d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM node:20-alpine as build
1+
FROM node:lts-alpine AS build
22

33
WORKDIR /app
44
ADD webapp .
55
RUN npm install
66
RUN npm run build
77

8-
FROM nginx:alpine as serve
8+
FROM nginx:stable-alpine-slim AS serve
99
COPY scripts/docker/docker_nginx.conf /etc/nginx/conf.d/default.conf
1010

1111
WORKDIR /usr/share/nginx/html

webapp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webapp",
3-
"version": "2025.05.22-1",
3+
"version": "2025.06.08",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",

0 commit comments

Comments
 (0)