mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2026-03-01 18:31:35 +00:00
Update dockerfiles
This commit is contained in:
parent
529a75437a
commit
84cd04dae0
3 changed files with 41 additions and 11 deletions
|
|
@ -1,10 +1,11 @@
|
|||
FROM node:12.18.1-alpine as build
|
||||
FROM node:14.5.0-alpine as build
|
||||
RUN apk --no-cache add git python3 make g++
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
COPY ./.config.js.default ./config.js
|
||||
RUN npm install --no-optional
|
||||
|
||||
FROM node:12.18.1-alpine as app
|
||||
FROM node:14.5.0-alpine as app
|
||||
WORKDIR /app
|
||||
COPY --from=build /app /app
|
||||
EXPOSE 10407
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue