Mirror from bluesky-social/pds
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

simplify directory structure in docker image, move data out of app dir

+4 -6
+4 -6
Dockerfile
··· 2 2 3 3 # Move files into the image and install 4 4 WORKDIR /app 5 - COPY ./service ./service 6 - 7 - WORKDIR /app/service 5 + COPY ./service ./ 8 6 RUN yarn install --production --frozen-lockfile > /dev/null 9 7 10 8 # Uses assets from build stage to reduce build size ··· 16 14 # Avoid zombie processes, handle signal forwarding 17 15 ENTRYPOINT ["dumb-init", "--"] 18 16 19 - WORKDIR /app/service 17 + WORKDIR /app 20 18 COPY --from=build /app /app 21 - RUN mkdir /app/data && chown node /app/data 19 + RUN mkdir /data && chown node /data 22 20 23 - VOLUME /app/data 21 + VOLUME /data 24 22 EXPOSE 3000 25 23 ENV PDS_PORT=3000 26 24 ENV NODE_ENV=production