Skip to content
Snippets Groups Projects
Commit abf95074 authored by Jakob Karevold Grønhaug's avatar Jakob Karevold Grønhaug
Browse files

Merge branch 'containerization' into 'main'

Legg til Docker-konfigurasjon

See merge request !24
parents 61b3e26d 113c7828
No related branches found
No related tags found
1 merge request!24Legg til Docker-konfigurasjon
Pipeline #225639 passed with stages
in 3 minutes and 5 seconds
.vscode/
cypress/
node_modules/
\ No newline at end of file
FROM node:lts AS frontend-builder
WORKDIR /build
COPY . /build
RUN npm install
RUN npm run build
FROM node:lts AS frontend-runner
COPY --from=frontend-builder /build/dist .
EXPOSE 8888
ENTRYPOINT ["npx", "-y", "http-server-spa", ".", "index.html", "8888"]
\ No newline at end of file
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