There was an error while loading. Please reload this page.
1 parent ef523ed commit a6be158Copy full SHA for a6be158
1 file changed
epicshop/Dockerfile
@@ -1,4 +1,6 @@
1
-FROM oven/bun:latest as base
+FROM node:24-bookworm-slim as base
2
+
3
+RUN apt-get update && apt-get install -y git
4
5
ENV EPICSHOP_CONTEXT_CWD="/myapp/workshop-content"
6
ENV EPICSHOP_DEPLOYED="true"
@@ -9,16 +11,13 @@ ENV NODE_ENV="production"
9
11
10
12
WORKDIR /myapp
13
-# Install git for cloning the workshop template
-RUN apt-get update && apt-get install -y git
14
-
15
# Clone the workshop repo during build time
16
RUN git clone --depth 1 https://github.com/epicweb-dev/web-auth ${EPICSHOP_CONTEXT_CWD}
17
18
ADD . .
19
20
-RUN rm -f package-lock.json && bun install --production
+RUN npm install --omit=dev
21
22
CMD echo "Starting up..." && \
23
cd ${EPICSHOP_CONTEXT_CWD} && \
24
- bunx epicshop start
+ npx epicshop start
0 commit comments