1
0
Fork 0
mirror of synced 2024-06-28 02:50:50 +12:00
budibase/packages/worker/Dockerfile

16 lines
343 B
Docker

FROM node:12-alpine
WORKDIR /app
# copy files and install dependencies
COPY . ./
RUN yarn
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
CMD ["yarn", "run:docker"]