Skip to content

Commit 23501cd

Browse files
author
Ives van Hoorne
committed
Update dockerfiles
1 parent 8b0804a commit 23501cd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
key: v4-prod-build-cache-{{ .Environment.CIRCLE_BRANCH }}-{{ .Environment.CIRCLE_SHA1 }}
123123
- run:
124124
name: Docker Sign In
125-
command: docker login -u $DOCKER_USER -p $DOCKER_PWD
125+
command: echo $DOCKER_PWD | docker login -u $DOCKER_USER --password-stdin
126126
- deploy:
127127
command: sh ./create-docker.sh
128128

create-docker.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ echo "Creating temp Dockerfile"
55
touch Dockerfile
66
cat > Dockerfile <<EOF
77
FROM busybox:1.28.1
8-
COPY /www /codesandbox
8+
WORKDIR /codesandbox
9+
COPY www /codesandbox
910
EOF
1011
echo "Building image"
1112
docker build -t codesandbox/client:$CIRCLE_SHA1 .

0 commit comments

Comments
 (0)