diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..bdb9670 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +docker diff --git a/.gitignore b/.gitignore index 922d92a..3dc2cb2 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,5 @@ npm-debug.log* yarn-debug.log* yarn-error.log* + +.storage diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7e74483 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM node:alpine + +# instal yarn +RUN apk -q add yarn + +# Go to user home +WORKDIR /home/tcgdex + +COPY . . + +RUN yarn && yarn build + +CMD ["yarn", "start"] diff --git a/components/FluxItem.jsx b/components/FluxItem.jsx index 3493638..7806812 100644 --- a/components/FluxItem.jsx +++ b/components/FluxItem.jsx @@ -8,7 +8,7 @@ export default class FluxItem extends React.Component {

- By {this.props.item.pseudo} + By {this.props.item.pseudo} At {this.props.item.location}