Skip to content
Snippets Groups Projects
Commit 4ce70bff authored by Ronnie Friman's avatar Ronnie Friman
Browse files

testing hotfix

parent c7341c17
No related branches found
No related tags found
No related merge requests found
Pipeline #65498 failed
......@@ -3,11 +3,13 @@ WORKDIR /usr/src/app
ENV PATH /usr/src/app/node_modules/.bin:$PATH
COPY package*.json ./
RUN npm install
RUN npm install react-scripts@3.0.1 -g
COPY . .
RUN npm run build
# production environment
FROM nginx:1.16.0-alpine
COPY --from=build /usr/src/app/build /usr/share/nginx/html
COPY default.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
server {
listen 80;
server_name localhost;
location / {
try_files $uri /index.html;
root /usr/share/nginx/html;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
}
body {
margin: 0;
padding: 0;
overflow: hidden;
background-color: #1d1d1b;
color: #ffffff;
overflow-y: scroll;
overflow-x: hidden;
}
.hidden {
......
......@@ -54,7 +54,9 @@ export default class GameCard extends React.Component {
<Link
to={{ pathname: "/game", search: "?id=" + this.state.gameInfo.id }}
>
<button type="button">Select</button>
<button id={`select${this.state.gameInfo.name}`} type="button">
Select
</button>
</Link>
</div>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment