v0.3.0
This commit is contained in:
@@ -24,15 +24,18 @@ LABEL org.opencontainers.image.title="jama" \
|
||||
org.opencontainers.image.created="${BUILD_DATE}" \
|
||||
org.opencontainers.image.source="https://github.com/yourorg/jama"
|
||||
|
||||
ENV TEAMCHAT_VERSION=${VERSION}
|
||||
ENV JAMA_VERSION=${VERSION}
|
||||
|
||||
RUN apk add --no-cache sqlite
|
||||
RUN apk add --no-cache sqlite python3 make g++
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY backend/package*.json ./
|
||||
RUN npm install --omit=dev
|
||||
|
||||
# Remove build tools after compile to keep image lean
|
||||
RUN apk del python3 make g++
|
||||
|
||||
COPY backend/ ./
|
||||
COPY --from=builder /app/frontend/dist ./public
|
||||
|
||||
|
||||
Reference in New Issue
Block a user