Skip to content

Commit e64eef3

Browse files
committed
fix: pipipipi
1 parent 29b4b78 commit e64eef3

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

docker/ARM64.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN cd /temp/prod && bun install --frozen-lockfile --production
1212

1313
FROM base AS prerelease
1414
COPY --from=install /temp/dev/node_modules node_modules
15-
COPY ./src ./src
15+
COPY . .
1616

1717
ENV NODE_ENV=test
1818
RUN bun run lint && \
@@ -23,8 +23,8 @@ COPY --from=install /temp/prod/node_modules node_modules
2323
COPY --from=prerelease /bun/dist ./dist
2424

2525
RUN mkdir -p /bun/src/image/assets/images
26-
RUN chown -R bun:bun /bun/src/image/assets/images && \
27-
chmod -R 600 /bun/src/image/assets/images
26+
RUN chown -R bun:bun /bun/src/image/assets/images
27+
RUN chmod -R 600 /bun/src/image/assets/images
2828

2929
USER bun
3030
EXPOSE 4000

docker/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ WORKDIR /bun
44
FROM base AS install
55
RUN mkdir -p /temp/dev
66
COPY package.json bun.lockb /temp/dev/
7-
RUN cd /temp/dev && bun install --frozen-lockfile --ignore-scripts
7+
RUN cd /temp/dev && bun install --frozen-lockfile
88

99
RUN mkdir -p /temp/prod
1010
COPY package.json bun.lockb /temp/prod/
11-
RUN cd /temp/prod && bun install --frozen-lockfile --production --ignore-scripts
11+
RUN cd /temp/prod && bun install --frozen-lockfile --production
1212

1313
FROM base AS prerelease
1414
COPY --from=install /temp/dev/node_modules node_modules
15-
COPY ./src ./src
15+
COPY . .
1616

1717
ENV NODE_ENV=production
1818
RUN bun run lint && \
@@ -23,8 +23,8 @@ COPY --from=install /temp/prod/node_modules node_modules
2323
COPY --from=prerelease /bun/dist ./dist
2424

2525
RUN mkdir -p /bun/src/image/assets/images
26-
RUN chown -R bun:bun /bun/src/image/assets/images && \
27-
chmod -R 600 /bun/src/image/assets/images
26+
RUN chown -R bun:bun /bun/src/image/assets/images
27+
RUN chmod -R 600 /bun/src/image/assets/images
2828

2929
USER bun
3030
EXPOSE 4000

0 commit comments

Comments
 (0)