minsung

overwrite

......@@ -9,12 +9,12 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI
&& tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz
ENTRYPOINT [ "dockerize", "-wait", "tcp://root:prisma@mysql:3306/prisma:3306", "-timeout", "60s" ]
ENTRYPOINT [ "dockerize", "-wait", "tcp://root:prisma@mysql:3306/prisma:3306", "-timeout", "300s" ]
COPY package*.json ./
COPY package*.json ./
COPY prisma ./prisma/
RUN npm install && npx prisma generate
CMD ["npm","start"]
COPY . .
\ No newline at end of file
COPY . .
......
......@@ -9,8 +9,8 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI
&& tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz
ENTRYPOINT [ "dockerize", "-wait", "tcp://root:prisma@mysql:3306/prisma:3306", "-timeout", "60s" ]
ENTRYPOINT [ "dockerize", "-wait", "tcp://root:prisma@mysql:3306/prisma:3306", "-timeout", "300s" ]
COPY ./ ./prisma/
CMD ["prisma", "studio", "--experimental"]
\ No newline at end of file
CMD ["prisma", "studio", "--experimental"]
......
import React from "react";
import styled from "styled-components";
import { parse, format } from "date-fns";
//import { parse, format } from "date-fns";
const MessageWrapper = styled.div`
display: flex;
......
......@@ -9,7 +9,7 @@ import {
} from "./ChatQueries";
import useInput from "../../Hooks/useInput";
import { toast } from "react-toastify";
import defaultProfile from "../imgs/defaultProfile.jpg";
//import defaultProfile from "../imgs/defaultProfile.jpg";
export default withRouter(({ location }) => {
const { pathname } = location;
......
No preview for this file type
......@@ -22,7 +22,4 @@ class KhuIcon extends Component {
}
}
export default {
HelloKhu,
KhuIcon
}
......