mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
CI: properly set version for rolling Docker image release
This commit is contained in:
@@ -28,10 +28,11 @@ RUN npm pack
|
||||
FROM ${NODE_IMAGE} as flood
|
||||
|
||||
# Copy package built
|
||||
COPY --from=nodebuild /usr/src/app/flood-*.tgz /tmp/
|
||||
RUN rm -rf /tmp/*
|
||||
COPY --from=nodebuild /usr/src/app/*.tgz /tmp/
|
||||
|
||||
# Install package and then remove caches
|
||||
RUN npm i -g /tmp/flood-*.tgz && rm -rf /tmp/* /root/*
|
||||
RUN npm i -g /tmp/*.tgz && rm -rf /tmp/* /root/*
|
||||
|
||||
# Install runtime dependencies
|
||||
RUN apk --no-cache add \
|
||||
|
||||
Reference in New Issue
Block a user