fix to build image
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 24s
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 24s
This commit is contained in:
parent
ea8a18553e
commit
580cb5f855
18
.dockerfile
18
.dockerfile
@ -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"]
|
@ -29,7 +29,7 @@ jobs:
|
||||
|
||||
# Always build and tag as latest
|
||||
echo "🔧 Building $IMAGE_LATEST"
|
||||
docker build -t $IMAGE_LATEST .dockerfile
|
||||
docker build -t $IMAGE_LATEST .
|
||||
|
||||
echo "📤 Pushing $IMAGE_LATEST"
|
||||
docker push $IMAGE_LATEST
|
||||
|
Loading…
x
Reference in New Issue
Block a user