Skip to content

Commit

Permalink
fix docker build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ainevsia committed Sep 16, 2023
1 parent 7cb895b commit ebf6f02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ WORKDIR /frontend-build
COPY web/package.json web/yarn.lock ./
RUN yarn install

COPY web ./
COPY web/bundle .
COPY solidctf/protobuf/challenge.proto .

RUN apk add --no-cache protoc
Expand Down
3 changes: 1 addition & 2 deletions web/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"name": "solidctf",
"version": "1.0.0",
"type": "module",
"scripts": {
"build": "webpack --config bundle/webpack.config.js",
"start": "webpack serve --config bundle/webpack.config.js --open",
"build": "webpack",
"protoc": "twirpscript",
"prettier": "prettier --write 'src/**/*.{css,html,js}'"
},
Expand Down

0 comments on commit ebf6f02

Please sign in to comment.