• 0 Posts
  • 4 Comments
Joined 1 year ago
cake
Cake day: September 25th, 2023

help-circle

  • Here’s an example dockerfile I wrote (for a different project) that’s a little more transparent

    FROM alpine:3.18.2
    WORKDIR /root
    RUN apk update && apk upgrade && apk add --no-cache git nodejs-current yarn
    RUN git clone https://github.com/hydra-synth/hydra.git
    WORKDIR /root/hydra
    RUN yarn install
    EXPOSE 8000
    CMD ["yarn", "build"]
    CMD ["yarn", "serve"]