Skip to content
Snippets Groups Projects
Commit fbcb0af2 authored by Jason Robinson's avatar Jason Robinson
Browse files

Add Dockerfile

parent 2f5903e9
No related branches found
No related tags found
No related merge requests found
node_modules/
target/
...@@ -5,3 +5,4 @@ dist-ssr ...@@ -5,3 +5,4 @@ dist-ssr
target target
*.local *.local
release release
.idea
FROM node:16 AS build
WORKDIR /app
COPY package.json /app/package.json
RUN yarn install
COPY . .
RUN yarn build
FROM nginx:1.21.6
COPY --from=build /app/target/assets /usr/share/nginx/html/assets
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