1
0
Fork 0
mirror of synced 2024-06-30 03:50:37 +12:00
budibase/packages/server/Dockerfile

21 lines
454 B
Docker
Raw Normal View History

2020-06-16 04:06:54 +12:00
FROM node:12-alpine
WORKDIR /app
2020-07-07 06:43:40 +12:00
ENV CLOUD=1
2021-02-26 02:27:46 +13:00
ENV PORT=4001
2020-07-09 08:53:15 +12:00
ENV COUCH_DB_URL=https://couchdb.budi.live:5984
ENV BUDIBASE_ENVIRONMENT=PRODUCTION
2020-07-07 06:43:40 +12:00
2020-06-16 04:06:54 +12:00
# copy files and install dependencies
COPY . ./
RUN yarn
2020-06-16 04:06:54 +12:00
EXPOSE 4001
# have to add node environment production after install
# due to this causing yarn to stop installing dev dependencies
# which are actually needed to get this environment up and running
ENV NODE_ENV=production
2020-06-16 04:06:54 +12:00
CMD ["yarn", "run:docker"]