diff --git a/Dockerfile b/Dockerfile index 5a44787..bdbfe0e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/web/package.json b/web/package.json index eff3dfe..6295d9e 100644 --- a/web/package.json +++ b/web/package.json @@ -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}'" },