diff --git a/frontend/public/index.html b/frontend/public/index.html new file mode 100644 index 00000000..c97fc6bb --- /dev/null +++ b/frontend/public/index.html @@ -0,0 +1 @@ +Urdr timelogging
\ No newline at end of file diff --git a/production/Dockerfile.nginx b/production/Dockerfile.nginx index b3548503..a4a87111 100644 --- a/production/Dockerfile.nginx +++ b/production/Dockerfile.nginx @@ -1,9 +1,13 @@ FROM node:20.6.1-alpine as build +USER root +RUN apk update && apk add --no-cache git + USER node RUN mkdir /home/node/app WORKDIR /home/node COPY --chown=node:node ./package.json ./package-lock.json ./ +COPY --chown=node:node .git ./.git RUN npm ci FROM node:20.6.1-alpine as bundler