mirror of
https://github.com/simon987/keysmash.git
synced 2025-12-18 01:09:05 +00:00
Initial commit
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM node:12 as build
|
||||
|
||||
WORKDIR /app
|
||||
COPY keysmash/ ./
|
||||
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:1.20.1-alpine
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
COPY --from=build /app/dist/ /www/
|
||||
COPY --from=build /app/static/ /www/
|
||||
Reference in New Issue
Block a user