fix: docker packages and IP parsing for 127.0.0.1
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
# Credit: https://www.digitalocean.com/community/tutorials/how-to-build-a-node-js-application-with-docker
|
||||
# https://stackoverflow.com/a/56941391
|
||||
|
||||
FROM node:24-trixie-slim AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./kittyurl-frontend/package*.json ./
|
||||
RUN npm ci && npm cache clean --force
|
||||
COPY ./kittyurl-frontend/ .
|
||||
COPY ./kittyurl-frontend/. ./
|
||||
RUN npm run build
|
||||
|
||||
FROM node:24-trixie-slim AS production
|
||||
|
||||
Reference in New Issue
Block a user