diff --git a/Dockerfile b/Dockerfile index 6c999979..16c59b32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,6 @@ FROM docker.io/library/node:18-alpine AS build_node_modules -# Use Timezone from Docker Host -RUN apk add --no-cache tzdata - # Copy Web UI COPY src/ /app/ WORKDIR /app @@ -16,9 +13,6 @@ RUN npm ci --omit=dev FROM docker.io/library/node:18-alpine COPY --from=build_node_modules /app /app -# Use Timezone from Docker Host -COPY --from=build_node_modules /usr/share/zoneinfo /usr/share/zoneinfo - # Move node_modules one directory up, so during development # we don't have to mount it in a volume. # This results in much faster reloading! @@ -34,6 +28,7 @@ RUN npm i -g nodemon # Install Linux packages RUN apk add --no-cache \ dpkg \ + tzdata \ dumb-init \ iptables \ iptables-legacy \