feature: Adds Docker building.
All checks were successful
Release code / build (push) Successful in 3m18s
All checks were successful
Release code / build (push) Successful in 3m18s
This commit is contained in:
parent
0219b23c4e
commit
408434ece8
5 changed files with 59 additions and 581 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
|||
FROM node:lts AS build
|
||||
WORKDIR /build
|
||||
COPY . /build
|
||||
RUN npm install --save-dev
|
||||
RUN npm run build
|
||||
FROM httpd:2.4 AS run
|
||||
WORKDIR /app
|
||||
COPY --from=build /build/dist /usr/local/apache2/htdocs
|
||||
COPY .htaccess /usr/local/apache2/htdocs
|
Loading…
Add table
Add a link
Reference in a new issue