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

Legg til Docker-konfigurasjon

parent 61b3e26d
No related branches found
No related tags found
1 merge request!24Legg til Docker-konfigurasjon
Pipeline #225638 passed with stages
in 3 minutes and 6 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