Skip to content
Snippets Groups Projects
Commit 80eb9d53 authored by Gabor Raz's avatar Gabor Raz
Browse files

feat: update docker image

parent dfc8b815
No related branches found
No related tags found
1 merge request!2feat: update docker image
Pipeline #67889 passed
......@@ -3,13 +3,6 @@ include:
ref: v5
file: panter-kubernetes-base.yml
app-build:
extends: .app-build
artifacts:
paths:
- $CI_PROJECT_DIR/dist
- $CI_PROJECT_DIR/.next
.ensureDocker: &ensureDocker |
function ensureDockerfile() {
......@@ -17,14 +10,10 @@ app-build:
echo "Creating Dockerfile"
cat > Dockerfile <<EOF
FROM mhart/alpine-node:10 AS builder
FROM mhart/alpine-node:12
ADD . /app
WORKDIR /app
RUN yarn --production
FROM mhart/alpine-node:base-10
WORKDIR /app
COPY --from=builder /app .
EXPOSE 8080
EOF
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment