Skip to content

Commit 81fed2b

Browse files
committed
remove base path storybook config
1 parent 649f23c commit 81fed2b

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

Dockerfile.storybook

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
FROM ghcr.io/storydocker/storydocker:main
22

3-
# Destination directory inside the container - one level, do not use subdirectories
43
ARG WORKSPACE_DIR=application
54

65
# Localhost port for Storybook
@@ -9,17 +8,12 @@ ARG STORYBOOK_PORT=6006
98
# Internal-to-docker variable for Storybook port
109
ENV SB_PORT=$STORYBOOK_PORT
1110

12-
# This is optional. Sets the level of logging that you see
1311
ENV NPM_CONFIG_LOGLEVEL warn
1412

15-
# Install dependencies first, as they change less often than code.
16-
COPY package.json ./workspaces/${WORKSPACE_DIR}/
1713
RUN npm i && npm cache clean --force
1814

19-
# Copy entire workspace into container
2015
COPY . ./workspaces/${WORKSPACE_DIR}/
2116

22-
# Make storybook port available externally
2317
EXPOSE $STORYBOOK_PORT
2418

2519
# run storybook app

0 commit comments

Comments
 (0)