Skip to content
Snippets Groups Projects
Verified Commit 3b912e0b authored by Jonas Zohren's avatar Jonas Zohren :speech_balloon:
Browse files

Add docker

parent ce2c08fa
Branches
No related tags found
No related merge requests found
/node_modules/
/public/build/
.DS_Store
test-results.xml
FROM node:18-alpine AS build
WORKDIR /build
COPY package.json package-lock.json /build/
RUN npm install --ignore-scripts
COPY . .
RUN npm run build
FROM pierrezemb/gostatic AS final
COPY --from=build /build/public/ /srv/http/
\ No newline at end of file
{
"schemaVersion" :2 ,
"dockerfilePath" : "Dockerfile"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment