1
0
Fork 1
mirror of https://example.com synced 2024-11-23 04:16:41 +09:00
firefish/Dockerfile
ThatOneCalculator 97eabe92db calckey 🐋
2022-08-22 22:11:29 -07:00

26 lines
479 B
Docker

FROM node:alpine
ENV YARN_CHECKSUM_BEHAVIOR=update
ARG NODE_ENV=production
WORKDIR /calckey
# Copy Files
COPY . ./
# Install Dependencies
RUN apk update
RUN apk add git ffmpeg tini alpine-sdk
# Configure corepack and yarn
RUN corepack enable
RUN yarn set version berry
RUN yarn plugin import workspace-tools
# Install Dependencies
RUN yarn install
RUN yarn build
# Remove git files
RUN rm -rf .git
ENTRYPOINT [ "/sbin/tini", "--" ]
CMD [ "yarn", "run", "migrateandstart" ]