fix to build image
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 24s

This commit is contained in:
Karl 2025-05-09 17:11:14 +01:00
parent ea8a18553e
commit 580cb5f855
2 changed files with 1 additions and 19 deletions

View File

@ -1,18 +0,0 @@
FROM node:12-alpine
LABEL version="1.0"
LABEL description="DNS BACKEND"
WORKDIR /app
COPY ["package.json", "package-lock.json", "./"]
RUN ls
RUN npm i
# RUN apk --no-cache add curl
COPY . .
EXPOSE 3001
CMD ["node", "bin/www"]

View File

@ -29,7 +29,7 @@ jobs:
# Always build and tag as latest # Always build and tag as latest
echo "🔧 Building $IMAGE_LATEST" echo "🔧 Building $IMAGE_LATEST"
docker build -t $IMAGE_LATEST .dockerfile docker build -t $IMAGE_LATEST .
echo "📤 Pushing $IMAGE_LATEST" echo "📤 Pushing $IMAGE_LATEST"
docker push $IMAGE_LATEST docker push $IMAGE_LATEST