Merge pull request 'Removed nginx to test if it works without' (#148) from infra/bugfix into main
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #148
This commit is contained in:
cami 2021-07-12 21:48:10 +00:00
commit 7e77a67aac

View file

@ -7,8 +7,3 @@ COPY package-lock.json ./
RUN npm ci --silent RUN npm ci --silent
COPY . ./ COPY . ./
RUN npm run build RUN npm run build
FROM nginx:latest
COPY --from=builder /app/build /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]