mirror of
https://github.com/versia-pub/server.git
synced 2026-01-26 12:16:01 +01:00
fix: 💚 Fix incorrect Dockerfile syntax
This commit is contained in:
parent
b53307c824
commit
40f9b46392
|
|
@ -2,7 +2,7 @@
|
||||||
FROM oven/bun:1.1.29-alpine as base
|
FROM oven/bun:1.1.29-alpine as base
|
||||||
|
|
||||||
# Switch to Bash by editing /etc/passwd
|
# Switch to Bash by editing /etc/passwd
|
||||||
RUN apk add --no-cache libstdc++ git=^2.0.0 bash^5.0.0 curl^8.0.0 openssh^9.7.0 cloc^2.0.0 &&
|
RUN apk add --no-cache libstdc++ git=^2.0.0 bash^5.0.0 curl^8.0.0 openssh^9.7.0 cloc^2.0.0 && \
|
||||||
sed -i -e 's|/bin/ash|/bin/bash|g' /etc/passwd
|
sed -i -e 's|/bin/ash|/bin/bash|g' /etc/passwd
|
||||||
|
|
||||||
# Extract Node from its docker image (node:22-alpine)
|
# Extract Node from its docker image (node:22-alpine)
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ WORKDIR /temp/dist
|
||||||
FROM oven/bun:1.1.29-alpine
|
FROM oven/bun:1.1.29-alpine
|
||||||
|
|
||||||
# Install libstdc++ for Bun and create app directory
|
# Install libstdc++ for Bun and create app directory
|
||||||
RUN apk add --no-cache libstdc++^14.0.0 &&
|
RUN apk add --no-cache libstdc++^14.0.0 && \
|
||||||
mkdir -p /app
|
mkdir -p /app
|
||||||
|
|
||||||
COPY --from=build /temp/dist /app/dist
|
COPY --from=build /temp/dist /app/dist
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue