File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
ARG APP_PATH=/opt/outline
2
- FROM outlinewiki/outline-base as base
2
+ FROM outlinewiki/outline-base AS base
3
3
4
4
ARG APP_PATH
5
5
WORKDIR $APP_PATH
@@ -11,7 +11,7 @@ LABEL org.opencontainers.image.source="https://github.com/outline/outline"
11
11
12
12
ARG APP_PATH
13
13
WORKDIR $APP_PATH
14
- ENV NODE_ENV production
14
+ ENV NODE_ENV= production
15
15
16
16
COPY --from=base $APP_PATH/build ./build
17
17
COPY --from=base $APP_PATH/server ./server
@@ -27,7 +27,7 @@ RUN addgroup --gid 1001 nodejs && \
27
27
mkdir -p /var/lib/outline && \
28
28
chown -R nodejs:nodejs /var/lib/outline
29
29
30
- ENV FILE_STORAGE_LOCAL_ROOT_DIR /var/lib/outline/data
30
+ ENV FILE_STORAGE_LOCAL_ROOT_DIR= /var/lib/outline/data
31
31
RUN mkdir -p "$FILE_STORAGE_LOCAL_ROOT_DIR" && \
32
32
chown -R nodejs:nodejs "$FILE_STORAGE_LOCAL_ROOT_DIR" && \
33
33
chmod 1777 "$FILE_STORAGE_LOCAL_ROOT_DIR"
Original file line number Diff line number Diff line change @@ -22,5 +22,5 @@ RUN rm -rf node_modules
22
22
RUN yarn install --production=true --frozen-lockfile --network-timeout 1000000 && \
23
23
yarn cache clean
24
24
25
- ENV PORT 3000
25
+ ENV PORT= 3000
26
26
HEALTHCHECK CMD wget -qO- http://localhost:${PORT}/_health | grep -q "OK" || exit 1
You can’t perform that action at this time.
0 commit comments