mirror of
https://github.com/Dannecron/parcel-example-neko.git
synced 2025-12-25 15:22:37 +03:00
initial commit
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM node:18.12.1-alpine as build
|
||||
|
||||
COPY package.json /opt/neko/
|
||||
COPY package-lock.json /opt/neko/
|
||||
|
||||
WORKDIR /opt/neko
|
||||
RUN npm ci --no-dev
|
||||
|
||||
COPY src /opt/neko/src
|
||||
RUN npm run-script build
|
||||
|
||||
FROM nginx:1.23.2 as runtume
|
||||
|
||||
COPY ./nginx/templates /etc/nginx/templates
|
||||
COPY --from=build /opt/neko/dist /opt/neko/dist
|
||||
Reference in New Issue
Block a user