File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- FROM node:lts-alpine as buildtime
1
+ FROM node:lts-alpine AS buildtime
2
2
WORKDIR /app
3
3
COPY package*.json nx.json /app/
4
4
@@ -21,10 +21,10 @@ COPY packages/common-postgres /app/packages/common-postgres/
21
21
RUN npx nx run-many --target=node:build --all
22
22
23
23
# Clean slate for runtime
24
- FROM node:lts-alpine as runtime
24
+ FROM node:lts-alpine AS runtime
25
25
WORKDIR /app
26
- COPY --from=buildtime /app/package*.json /app/nx.json /app/
27
- COPY --from=buildtime /app/packages /app/packages
26
+ COPY --link -- from=buildtime /app/package*.json /app/nx.json /app/
27
+ COPY --link -- from=buildtime /app/packages /app/packages
28
28
29
29
# Remove dev deps for runtime
30
30
RUN npm ci --omit=dev
Original file line number Diff line number Diff line change 1
- FROM ghcr.io/ruuvipuserrin/base-node
1
+ FROM ghcr.io/unkhz/ ruuvipuserrin/base-node
2
2
3
3
WORKDIR /app
4
4
You can’t perform that action at this time.
0 commit comments