mirror of
https://github.com/defnull/fediwall.git
synced 2024-11-21 15:13:20 +01:00
Added very simple nginx-based dockerfile
This commit is contained in:
parent
a2d4202b76
commit
8027e9187d
5
.dockerignore
Normal file
5
.dockerignore
Normal file
@ -0,0 +1,5 @@
|
||||
.git
|
||||
.github
|
||||
.vscode
|
||||
node_modules
|
||||
dist
|
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM node:18-alpine as BUILD
|
||||
|
||||
WORKDIR /build
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci
|
||||
COPY ./ ./
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx
|
||||
COPY --from=BUILD /build/dist /usr/share/nginx/html
|
Loading…
Reference in New Issue
Block a user