Open source omnivore
This commit is contained in:
18
pkg/admin/Dockerfile
Normal file
18
pkg/admin/Dockerfile
Normal file
@ -0,0 +1,18 @@
|
||||
FROM node:14.18-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json .
|
||||
COPY yarn.lock .
|
||||
|
||||
RUN yarn install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
RUN NODE_ENV=production yarn build
|
||||
|
||||
ENV PORT=8080
|
||||
EXPOSE 8080
|
||||
|
||||
ENV NODE_ENV production
|
||||
|
||||
CMD yarn start
|
||||
Reference in New Issue
Block a user